Skip to content

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

@cheton

Description

@cheton

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

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions