Opened 8 years ago

Last modified 2 years ago

#12634 assigned defect

dojox.form.MonthTextBox ignores datePattern constraint

Reported by: bornmw Owned by: dylan
Priority: high Milestone: 1.15
Component: DojoX Form Version: 1.6.0
Keywords: Cc:
Blocked By: Blocking:

Description

The only output dojox.form.MonthTextBox? is capable of producing is the month selected on the widget.

But the widget itself allows to choose not just a month but a year. There is no way for the year chosen by the user to be propagated to the widget output.

If you're allowing users to choose year in the widget you should allow the year to be retrieved from the widget instead of ignoring it.

The logical way to do that would be via datePattern. It is hardcoded to 'MM' but even if you change it to anything else it doesn't work because even the hardcoded pattern seems to be ignored by the widget.

Change History (2)

comment:1 Changed 3 years ago by dylan

Milestone: tbd1.12
Owner: changed from dante to dylan
Status: newassigned

comment:2 Changed 2 years ago by dylan

Milestone: 1.131.15

Ticket planning... move current 1.13 tickets out to 1.15 to make it easier to move tickets into the 1.13 milestone.

Note: See TracTickets for help on using tickets.