Changes between Initial Version and Version 1 of Ticket #24347, comment 11
- Timestamp:
- Mar 6, 2015, 6:17:24 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #24347, comment 11
initial v1 3 3 It should use the HiddenInput all the time during the `as_hidden` call. 4 4 5 Otherwise, the data given into a form and the data returned (e.g. after a POST) differs.5 Otherwise, 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. 6 6 7 7 Widgets 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.