1. #1
    Ext User
    Join Date
    Sep 2008
    Location
    UK
    Posts
    31
    Vote Rating
    0
    pepez is on a distinguished road

      0  

    Question How to add clear date button for DateField date picker?

    How to add clear date button for DateField date picker?


    Ideally I would like to have button like 'Today' to clean up the date. Has anyone added such or do you simply leave the field editable so users can clean it manually?

  2. #2
    Sencha User
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Maybe you also want to use TwinTriggerField and write your own DateField. One Trigger will expand the datepicker, the other could clean the field value.

Similar Threads

  1. Clear date button in date picker
    By mdarco in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 6 Aug 2010, 3:53 AM
  2. How to show date picker without datefield
    By amodg in forum Ext 3.x: Help & Discussion
    Replies: 13
    Last Post: 4 Jan 2010, 8:09 PM
  3. Clear button on Date Picker
    By ysagar in forum Community Discussion
    Replies: 1
    Last Post: 9 Oct 2009, 2:59 PM
  4. default picker to a given date for Datefield
    By pomata in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 31 Mar 2008, 1:17 PM

Thread Participants: 1