Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#2027 closed enhancement (fixed)

ability to clear a datepicker

Reported by: kevin@… Owned by: tk
Priority: high Milestone: 0.9
Component: General Version: 0.4
Keywords: Cc:
Blocked By: Blocking:

Description

Provide the ability to clear or reset a datepicker to its uninitialized state similiar to the capability built into the timepicker.

This is entered per Karl Tiedt's request.

Change History (3)

comment:1 Changed 13 years ago by tk

Owner: changed from Karl Tiedt to tk

comment:2 Changed 13 years ago by Karl Tiedt

Resolution: fixed
Status: newclosed

(In [7178]) fixes #2095 and fixes #2027 Added recognition for widget.setValue(""); to clear the value of DatePicker? and DropdownDatePicker?... this also allows for a user to clear the inputNode on DropdownDatePicker? and tab out of it to clear the value, however in order to programatically clear a DropdownDatePicker?'s value you *MUST* use setValue("", simply doing DropdownDatePicker?.inputNode.value = "" *WILL NOT* work.

I looked into deferring creation of the datePicker in dropdown as well, but so many arbitrary functions rely on DatePicker? existing already that it will involve a significant rewrite of DropdownDatePicker?.js

comment:3 Changed 13 years ago by Karl Tiedt

Resolution: fixed

(In [7305]) references [7178] changeset on trunk fixes #2095 and fixes #2027

Note: See TracTickets for help on using tickets.