Changes between Initial Version and Version 1 of Ticket #24347, comment 11


Ignore:
Timestamp:
Mar 6, 2015, 6:17:24 AM (9 years ago)
Author:
Sven R. Kunze

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24347, comment 11

    initial v1  
    33It should use the HiddenInput all the time during the `as_hidden` call.
    44
    5 Otherwise, the data given into a form and the data returned (e.g. after a POST) differs.
     5Otherwise, the data given into a form (e.g. after a POST) and the data returned (e.g. when the form is rendered anew because of validation errors) differs.
    66
    77Widgets set with `hidden_initial=True` render their data two times: with field.widget and with field.hidden_widget. Depending on whether or not its a bound form, results in different formatting of the value/data.
Back to Top