可自定义的角度日期选择器
您知道一个有输入功能的Angular日期选择器吗?
Do you know an Angular datepicker which has input features like:
- 键盘导航(例如前一天的按键按下,第二天的按键按下) )(在输入字段中不是我的意思)
- 自动完成,例如当您填写12/12并按Tab键离开时,它将自动填写2019年12月12日
- 用于特定操作的键,例如T填写今天的日期
还是可以轻松定制以使其像这样工作的日期选择器?
Or a datepicker which can be easily customized to work like this?
我发现Kendo和Syncfusion之类的库中的日期选择器尝试执行过多操作,因此很难根据我们的需求进行自定义。他们专注于datepicker弹出窗口,而没有鼠标则很难使用输入字段。
I found that datepickers from libraries like Kendo and Syncfusion try to do too much and are therefore difficult to customize to our needs. They focus on the datepicker popup, while the input field is hard to work with without mouse.
(旧的ASP.NET Peterblum组件具有所有这些用户友好的功能,在现代框架中似乎不可用,请参见: http://peterblum.com/DES/ DateAndTime.aspx#DateTextBox )。
(the old ASP.NET Peterblum components had all this user-friendly functionality which does not seem to be available in modern frameworks, see: http://peterblum.com/DES/DateAndTime.aspx#DateTextBox).
您可以在此处找到一些用角度写的日期选择器, href = https://angularscript.com/?s=datetime+picker+ rel = nofollow noreferrer> https://angularscript.com/?s=datetime+picker+ 。其中大多数可根据您的需求进行定制。谢谢
You can find some date-pickers written in angular here, https://angularscript.com/?s=datetime+picker+. Most of these are customizable as your needs. Thanks