Changes between Initial Version and Version 1 of Ticket #34119, comment 3


Ignore:
Timestamp:
Oct 26, 2022, 6:47:19 AM (19 months ago)
Author:
David Sanders

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34119, comment 3

    initial v1  
    33Fields with callable defaults have a hidden widget which then used to detect if it's changed – a mechanism implemented long ago to preserve changing defaults between submissions like `timezone.now`.
    44
    5 I think the problem here is that the hidden widget is being populated with the submitted data instead of the result of the callable default. I've submitted a PR to prevent these hidden widgets from being overridden by submitted values.
     5I think the problem here is that the hidden widget is being populated with the submitted data instead of the result of the callable default, thus making the form think it's unchanged. I've submitted a PR to prevent these hidden widgets from being overridden by submitted values.
Back to Top