views:

749

answers:

1

there's no way to clear a date after it has been inserted! I had to add an ugly button near it to clear it programmatically...

Do you have a nicer solution?

+4  A: 

You can set editable="true" if you want to allow the text field to be cleared.

You can also CTRL-click the selected date to de-select it, though, it would probably take more to explain that to your users than the "ugly clear button".

daniel.reicher
thanks.. if I wanted to delete on double click how can I do that in a general way? I tried doubleclick="this.text=null" but this doesn't refer to the current tag instance. What then?
luca