Giter VIP home page Giter VIP logo

ngx-mat-timepicker's People

Contributors

dhutaryan avatar sagato avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

ngx-mat-timepicker's Issues

API docs

  • MatTimepicker
  • MatTimepickerInput
  • MatTimepickerToggle
  • MatTimepickerApply
  • MatTimepickerCancel

M3 support?

Does it support Material V3? Or are there any plans to support it in the future?

Special characters and input controls in dial mode

The following settings have been found in version 17.4.0:

  • Currently allow special characters. Only numbers should be allowed.

( ( Shift || Alt) + 'some key')

For example => |@#~€¬[]!"·$%&/()=

image

  • Backspace does not work, and does not allow deleting entered numbers. You can only change the value with the up and down keys, but it behaves strangely.

Greetings.

[Bug] Attributes and controls

  • Currently allows letters and special characters to be entered. It should only allow numbers to be entered.

  • It does not allow you to change the translations of the cancel and accept buttons. It is currently not parameterized.

Allow only numbers in dial mode

In the latest version it was found:

  • When a character is entered, it no longer detects backspace and the entered value cannot be deleted.

  • It is still allowed to write characters other than numbers.

image

Tip: You could try adding a regex to apply event.preventDefault() when it is verified that it is not a digit.

Greetings

Add support for virtual keyboards (mobile)

It is not possible to input the time manually using a virtual keyboard on a mobile phone.

I am using Huawei P30, with Microsoft SwiftKey keyboard and when I try to input the time manually, it has no effect.

My guess is that this is due to how the changes are being registered in the field. The virtual keyboard does not trigger key keydown and keyup events, so the input event has to be used to cover this case.

If I make some time for it, I can maybe contribute.

Readme

  • How to install library?
  • How to set up library?

Demo

Create demo app or add some examples on stackblitz

🚨Library styles affects global styling

When I were trying to replace ngx-mat-timepicker from @tonysamperi (which is very shity quality and forces to use his luxon replacement library) with @dhutaryan/ngx-mat-timepicker. I found that provided mixin is affecting global scope styles. Giving some gray background to inputs, but they should stay white in my project.

image

I found those two places where this library styles are escaping to global scope and affect project styles.

Is there an inline mode

Didn't tried it but I tested the demo and I find it very clean. I'm currently looking at what exists on github for this type of components. Is it possible to use it directly without any trigger or input?

[Feature] Minute interval

It would nice to have an interval for minutes. In this case user can set minutes starting from 0 and every interval step.

Example: interval = 5
User can set 0, 5, 10, 15, ...

[Idea] use in conjuction with the mat-datepicker

I just found this repo angular/components#5648 and i see the documentation is very limited but also the examples look very nice!

I couldnt see in past issues or in examples that you have mixed it with the mat-datepicker is it possible?

On another note please create some issues of things that needs to be done, i would love to start contributing to this package its something that are really needed for the material library

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.