When changing the disabled attribute on a Select.Root component after the component has been created, the component state doesn't change to reflect the new value
This works in the reverse as well. Change the signal initial value to false (enabled) and then check the checkbox and the select also doesn't become disabled.
At a guess, it's because this is trying to track a boolean value and not a signal, so the task isn't firing after the first time:
Which package is affected?
Headless Kit
Describe the bug
When changing the
disabled
attribute on aSelect.Root
component after the component has been created, the component state doesn't change to reflect the new valueReproduction
https://stackblitz.com/edit/qwik-starter-msxbxx?file=src/routes/index.tsx
Steps to reproduce
Expected:
Actual:
System Info
Additional Information
This works in the reverse as well. Change the signal initial value to
false
(enabled) and then check the checkbox and the select also doesn't become disabled.At a guess, it's because this is trying to track a
boolean
value and not a signal, so the task isn't firing after the first time: