Domino 9 / Dojo 1.8 - Date Time Picker without default value

Posted by Julian Buss on Stack Overflow See other posts from Stack Overflow or by Julian Buss
Published on 2013-04-02T20:14:31Z Indexed on 2013/08/02 15:37 UTC
Read the original article Hit count: 157

Filed under:

I want a Date Time Picker control WITHOUT a default value. Doesn't seem to be possible anymore :-(

To reproduce, create a blank XPage and place a Date Time Picker control. Open the XPage in the browser and you will see that it defaults to today.

I didn't found any way to set the default to an empty value. I tried setting all properties/data/default to 0, null, empty string and so on - no luck.

I tried the data-dojo-probs attribute with value:'', this sets the default to 1970-1-1, but not to blank.

Any ideas?

© Stack Overflow or respective owner

Related posts about xpages