This is a migrated thread and some comments may be shown as answers.

Question about <input value="" />

1 Answer 100 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 1
Alex asked on 09 Nov 2011, 09:28 PM
Hi, this is what I want to do, I have <input id="datepicker" value="10/10/2011"/> but I'd like to put something like value="Pick a date" instead of value="10/10/2011". I tried it already but the input shows empty. Any help? Thanks.

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 10 Nov 2011, 03:53 PM
Hi Alex,

 
While initialization process the DatePicker gets the input value and clears if it is not a valid date. You can achieve your goal using placeholder attribute or set the value of the input after the datepicker is initialized.

Regards,
Georgi Krustev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Date/Time Pickers
Asked by
Alex
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or