dateTimePicker and input value
Hello,
I'm having some problems initializing the dateTimePicker.
a form come generated by my db and orm that populate a text input value.
The dateTimePicker does not read the "value" attribute and always put the current time as a starting value.
I have reproduced my problem in the attached file coming from the demo samples, just adding a value attribute and the corresponding dateTimeFormat.
I am missing something?
Attachment: default_c5b05877.zip
I'm having some problems initializing the dateTimePicker.
a form come generated by my db and orm that populate a text input value.
The dateTimePicker does not read the "value" attribute and always put the current time as a starting value.
I have reproduced my problem in the attached file coming from the demo samples, just adding a value attribute and the corresponding dateTimeFormat.
I am missing something?
Attachment: default_c5b05877.zip
SIGN IN To post a reply.
3 Replies
HP
Harikrishnan P
Syncfusion Team
July 20, 2015 11:32 AM UTC
Hi Alain,
Thanks for using Syncfusion products.
To specify 24 hour time, the time format has to be HH:mm (capital letters for hours). So please use the date time format as ‘yyyy-MM-dd HH:mm’ and it will work. We have showcased in the following JS playground link please check it.
http://jsplayground.syncfusion.com/o4lsl0df
Please let us know if you have further queries.
Regards,
HariKrishnan
AM
Alain Martini
July 21, 2015 09:39 AM UTC
Thank you!
what a little pitfall. Now everything works great.
what a little pitfall. Now everything works great.
HP
Harikrishnan P
Syncfusion Team
July 22, 2015 04:48 AM UTC
Hi Alain,
Thanks for your update. Please get back to us if you would require further assitance, we will be happy to help you.
Regards,
HariKrishnan
Thanks for your update. Please get back to us if you would require further assitance, we will be happy to help you.
Regards,
HariKrishnan
SIGN IN To post a reply.
- 3 Replies
- 2 Participants
-
AM Alain Martini
- Jul 18, 2015 05:04 AM UTC
- Jul 22, 2015 04:48 AM UTC
8/25/2026 05:57:58 AM
Sun, 15 December 2024 03:30:00 UTC
Sun, 15 December 2024 03:30:00 AM
Wed, 16 Feb 2022 04:59:00 UTC