You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Switch checked property cannot be reliably set externally #16
Body:
Setting a Switch checked value using set("checked", value) or constructor properties is unreliable. The value may be ignored or not reflected in the UI depending on initialization timing.
Expected behavior:
switch:set("checked", true)
or
main:addSwitch({ checked = true })
should always update the visual state.
Actual behavior:
Constructor checked is sometimes ignored
set("checked", value) may not update the UI
Click interaction works correctly, but external updates do not
Impact:
Prevents using Switch as an externally controlled UI element (for example redstone or system state binding).
Note:
Likely related to PropertySystem initialization timing and _values not being fully ready during construction or early updates.
Activity