dhutaryan / ngx-mat-timepicker Goto Github PK
View Code? Open in Web Editor NEWMaterial timepicker based on material design
Home Page: https://dhutaryan.github.io/ngx-mat-timepicker/
License: MIT License
Material timepicker based on material design
Home Page: https://dhutaryan.github.io/ngx-mat-timepicker/
License: MIT License
Does it support Material V3? Or are there any plans to support it in the future?
Create mat timepicker config to apply some option to all timepickers
The following settings have been found in version 17.4.0:
( ( Shift || Alt) + 'some key')
For example => |@#~€¬[]!"·$%&/()=
Greetings.
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.
We need to add at least base accessibility features to improve UX
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.
Tip: You could try adding a regex to apply event.preventDefault() when it is verified that it is not a digit.
Greetings
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.
Create demo app or add some examples on stackblitz
steps to reproduce:
expected behaviour:
I expect the input will change to 8:41, but it is empty
"Input timepicker (24h format)" works as expected
It would be great if user could manage dial and time inputs by keyboard arrows and other keys.
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.
I found those two places where this library styles are escaping to global scope and affect project styles.
Angular material datepicker has "touchUi" property (see https://material.angular.io/components/datepicker/api).
Will something similar be available here?
Currently the modal window (openAs="dialog") looks tiny compared to the size of the entire page.
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?
When hours or minutes are disabled and timepicker has accent color these buttons have wrong color.
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, ...
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.