Skip to main content

Search and Top Navigation

#15381 new bug ()

Opened June 07, 2020 12:56PM UTC

Last modified June 07, 2020 12:56PM UTC

Datepicker unusable

Reported by: blakemcbride Owned by:
Priority: minor Milestone: none
Component: ui.datepicker Version: 1.12.1
Keywords: Cc:
Blocked by: Blocking:


After spending many hours trying to incorporate your Datepicker into my app, I have failed and I am abandoning the effort. With 40 years of experience, you may want to hear me out. While your date picker works well in a simple little test program, it doesn't work in a real app. Here are the problems:

1. The "enter" key should be ignored as it is in all natural inputs. The enter key is a form submit key not a control accept key.

2. When you hit the "Done" key, the menu goes away but all focus seems to be gone. The focus should move to the following control.

3. You need an option for a "Clear" button. Others have asked for it years ago. It makes a lot of sense in the real world. Sometimes there is no date and the user needs to be able to clear the field.

3. The "Today" key should enter today's date and move to the next control just like all browsers work.

4. If the user types "//" and then tab, the control should not just move on with a totally invalid date.

5. The "Today" button shouldn't be dimmed. It looks like it is disabled.

While many of these things can be fixed via a lot of surrounding code and minor modifications to your code, I found it a never-ending task to try to fix everything. It's a shame because a lot of the complex parts work well but you fall on your face with some fundamentals.

Attachments (0)
Change History (0)