Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#15198 closed defect (fixed)

Cannot set value to mobile DatePicker/TimePicker at initialization time

Reported by: ykami Owned by: ykami
Priority: high Milestone: 1.8
Component: DojoX Mobile Version: 1.7.2
Keywords: Cc: Eric Durocher
Blocked By: Blocking:

Description

DatePicker/TimePicker always initializes itself with the current date/time, and the following code does not work.

<div data-dojo-type="dojox.mobile.SpinWheelDatePicker"
     data-dojo-props="value:'2000-10-24'"></div>

Change History (3)

comment:1 Changed 8 years ago by ykami

Cc: Eric Durocher added
Milestone: tbd1.8
Priority: undecidedhigh
Status: newassigned

comment:2 Changed 8 years ago by ykami

Resolution: fixed
Status: assignedclosed

In [28366]:

Fixes #15198 Respect value/values in reset() so that the widget can be initialized with the given value. Added new test cases. !strict

comment:3 Changed 8 years ago by ykami

In [28429]:

Fixes #15198 Turned out new ValuePickerTimePicker?({values12:["10","06","PM"]}); did not work either. Fixed this problem. !strict

Note: See TracTickets for help on using tickets.