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


Ignore:
Timestamp:
07/07/22 08:28:11 (7 months ago)
Author:
Horst Schneider
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33830, comment 3

    initial v1  
    11Although 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.
    22
    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).
     3It 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).
    44
    55I guess a proper fix would be something along the lines of
Back to Top