quicktill icon indicating copy to clipboard operation
quicktill copied to clipboard

Consider using native datepickers in browsers

Open sde1000 opened this issue 5 years ago • 2 comments

Now most browsers support <input type="date">, consider turning off the javascript-based datepicker.

Django's built-in DateInput widget doesn't set this, and doesn't use ISO 8601 dates by default. Implement a custom DateInput widget for this?

sde1000 avatar Apr 03 '20 16:04 sde1000

Using a custom DateInput widget in f0c18fbd82d699cb8454a2fead69afdb1e8c6f94 — will consider turning off the javascript date picker too.

sde1000 avatar Apr 03 '20 17:04 sde1000

I've tried making this change, but I don't like the way the native date picker interacts with Bootstrap 4.4 forms: at least in Chrome, the little button you have to press to bring up the date picker is too far away to the right. With the javascript date picker, you just have to click anywhere in the field.

sde1000 avatar Jan 23 '21 17:01 sde1000