Changes between Initial Version and Version 1 of Ticket #33830, comment 3
- Timestamp:
- Jul 7, 2022, 3:28:11 AM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #33830, comment 3
initial v1 1 1 Although the problem is similar, the fix must be different here. We can not easily supply some default context from the outside here since the missing variable is in the `attrs` attribute of the checkbox widget. 2 2 3 It is guaranteed by the base `Widget` that `attrs` will always be a `dict 3 It is guaranteed by the base `Widget` that `attrs` will always be a `dict` instance. But it is **not** guaranteed that the key `disabled` will always be present on the `attrs`, so we will mostly find it to be either missing or set to `True` (could as well be set to `False`, if the default is explicitly stated). 4 4 5 5 I guess a proper fix would be something along the lines of