#11413 closed defect (fixed)
Difficult to edit directly text field with date/time picker — at Version 2
Reported by: | Jun Omae | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 1.0.2 |
Component: | general | Version: | 1.0.1 |
Severity: | normal | Keywords: | datepicker, jqueryui |
Cc: | Branch: | ||
Release Notes: |
Prevent moving the cursor to end of field with datetime picker when editing hours part |
||
API Changes: | |||
Internal Changes: |
Description
The date/time picker on Trac has some issues. It is difficult to edit directly caused by the following issue.
- Restore immediately the value after removing end of the text field with backspace key
- Move the cursor to end of the text field after removing hours part
- Fill the text field with today after focusing even if it's empty
See https://groups.google.com/d/msg/trac-users/1Xi8cz-m1KY/7E8ZgU6WjKgJ.
Change History (2)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
Milestone: | next-stable-1.0.x → 1.0.2 |
---|---|
Release Notes: | modified (diff) |
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
I've tried the latest of jquery-ui-addons.js, v1.4.3. But it isn't fixed.
I investigated it and noticed that timezone list must have default timezone even if the timezone is not used. The default timezone is at tags/trac-1.0.1/trac/htdocs/js/jquery-ui-i18n.js@:42#L28.
trac/web/chrome.py
],The patch would fix the issues. However, even with the patch, the cursor is moved to end when invalid hours is typed.