Our great sponsors
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
You are right, just checked on jsfiddle and there is no way to do this. What I have done in the past is either use type = text, or do a el.preventdefault() and then use my own date picker. flatpickr is pretty good https://flatpickr.js.org
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.
Related posts
- Guys, have you noticed that Safari's date-picker is giving us a real headache? I mean, it's responsible for a whopping 33% of our customer support problems! Can we do something about this, or are we just gonna keep dealing with angry customers who can't figure out how to select a date on Safari?
- Best way to create a Date & Time picker with Rails + hotwire or vanilla js
- Datepicker recommendations?
- A Laravel Component Wrapper For A Datepicker Library Called Flatpickr
- Can't find a simple Time picker.