#2027 closed enhancement (fixed)
ability to clear a datepicker
Reported by: | 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 16 years ago by
Owner: | changed from Karl Tiedt to tk |
---|
comment:2 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
(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