Input type to DateInput
See original GitHub issueIt would be nice if it was possible to inject type of the DateInput
, it uses ‘text’ but type ‘date’ provides a better experience in smartphone,
Issue Analytics
- State:
- Created 8 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
<input type="date"> - HTML: HyperText Markup Language
We create a new <input> element, try setting its type to date , then immediately check what its type is — unsupporting browsers...
Read more >HTML input type="date" - W3Schools
The <input type="date"> defines a date picker. The resulting value includes the year, month, and day. Tip: Always add the <label> tag for...
Read more >input type=date – date input control (NEW) - HTML5
The input element with a type attribute whose value is " date " represents a control for setting the element's value to a...
Read more >Is there any way to change input type="date" format?
The question is, is it possible to force it's format to something like: DD-MM-YYYY ? html · css · date · input ·...
Read more >The DateInput Component - React-admin - Marmelab
Ideal for editing dates, <DateInput> renders an HTML <input type="date"> element, that most browsers display as a date picker. DateInput.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hey @edygar – I think we’ll be exposing the
type
of the input as a prop rather than makingdate
the default as we discussed here.For me there’s a simple solution, i just need to switch inputs accordingly with the resolution. It is just a shame that HTML5 date input comes so limited.
Anyway, thank you by the support. Good job in this component!