1. #1
    Sencha Premium Member
    Join Date
    May 2012
    Location
    Singapore
    Posts
    13
    Vote Rating
    0
    skumarsamy1969 is on a distinguished road

      0  

    Exclamation 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

  2. #2
    Sencha User
    Join Date
    Jan 2010
    Posts
    293
    Vote Rating
    18
    existdissolve will become famous soon enough existdissolve will become famous soon enough

      0  

    Default


    Do you have a dateFormat specified on your model's field definition?

    http://docs.sencha.com/ext-js/4-1/#!...cfg-dateFormat

  3. #3
    Sencha Premium Member
    Join Date
    May 2012
    Location
    Singapore
    Posts
    13
    Vote Rating
    0
    skumarsamy1969 is on a distinguished road

      0  

    Exclamation 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