-
Model date json reset to minimum value
Model date json reset to minimum value
Hi Friends,
I did a form with a datefield, my model with date type field, with format 'time', form have format 'd-m-Y'.
When retrieved and show the value it shows properly. But when submitting the form the value on json reset to '310012e', for all my date fields.
herewith the screen attached with display field, console log and json trace.
Looking forward for help.
advance thanks
Kumardatevalue.jpg
-
Do you have a dateFormat specified on your model's field definition?
http://docs.sencha.com/ext-js/4-1/#!...cfg-dateFormat
-
model date json reset
model date json reset
Yes, the format is there in the document.
Why when submitting the value reset, and what is causing this, before submit the value is normal and logged. But when set record values, then resets.
thanks
kumar
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us