Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #420 (closed defect: fixed)

Opened 13 years ago

Last modified 12 years ago

[PATCH] CatWalk: DHTML Datetime selector in catwalk not usable for years < 1970

Reported by: anonymous Owned by: anonymous
Priority: normal Milestone: 0.9
Component: Toolbox Version:
Severity: normal Keywords:
Cc:

Description

It is not possible to enter years < 1970 in the the Datetimeselector of catwalk.

Attachments

noreadonly.patch Download (817 bytes) - added by roger.demetrescu 13 years ago.

Change History

Changed 13 years ago by roger.demetrescu

comment:1 Changed 13 years ago by roger.demetrescu

  • Summary changed from DHTML Datetime selector in catwalk not usable for years < 1970 to [PATCH] DHTML Datetime selector in catwalk not usable for years < 1970

The calendar widget uses the Javascript Calendar from  http://www.dynarch.com/projects/calendar/ There is a "Calendar.setRange()" which determines the range of years and it's default is 1970-2050. Even if whe extend this range to, lets say, 1900-2099, someone implementing a museum database will still complain about not been able to register a 1504-07-12 date.

I have another suggestion: let's remove the readonly attribute from the input field, so even with de limit imposed by the javascript calendar, we can still input any date with keyboard...

Of course, someone from the staff should make the final decision... :)

comment:2 Changed 13 years ago by simon

  • Component changed from Widgets to Toolbox

comment:3 Changed 13 years ago by michele

  • Summary changed from [PATCH] DHTML Datetime selector in catwalk not usable for years < 1970 to [PATCH] CatWalk: DHTML Datetime selector in catwalk not usable for years < 1970

comment:4 Changed 13 years ago by roger.demetrescu

While we don't have a definitive solution to this problem, couldn't we get rid of the "readonly" attribute ? Enabling the user to input the date with keyboard is a good practice of usability & accessibility...

We must remember that the focus here is not to show the Calendar widget, but to input date information.

And if we allow/would allow to catwalk enter empty date, deleting the content with keyboard is the easiest form.

I personally hate when a page forces me to use the mouse...

[]s Roger

comment:5 Changed 13 years ago by godoy

I agree with Roger. I don't use CatWalk that much, but I definitely believe that there should be some way to use only the keyboard (yes, I know that since this is HTML you probably can use the keyboard to open the calendar, but that's not good UI or an intuitive UI...).

comment:6 Changed 13 years ago by elvelind

  • Status changed from new to closed
  • Resolution set to fixed

commited the patch.

Note: See TracTickets for help on using tickets.