Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Rewrite DateInput and TimeInput using Cleave.js #10

Open
cheton opened this issue Nov 27, 2019 · 1 comment
Open

[Enhancement] Rewrite DateInput and TimeInput using Cleave.js #10

cheton opened this issue Nov 27, 2019 · 1 comment
Assignees

Comments

@cheton
Copy link
Member

cheton commented Nov 27, 2019

Cleave.js provides a clever way that helps format input text content automatically. We can use this library (or borrow the code) to replace the existing date / time formatter.

Demo

https://nosir.github.io/cleave.js/

React Binding

https://github.com/nosir/cleave.js/blob/master/src/Cleave.react.js

DateFormatter

https://github.com/nosir/cleave.js/blob/master/src/shortcuts/DateFormatter.js

TimeFormatter

https://github.com/nosir/cleave.js/blob/master/src/shortcuts/TimeFormatter.js

@ultralabed
Copy link

Look forward to it!!

@purepennons purepennons self-assigned this Apr 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants