Disable an option in a form select when dynamic

Don’t add the dynamic options to the select element in the typical manner, instead add a single option element and add a repeat to the option. Then you can use dmx-bind:disabled.

I did this with show/hide but should be the same for disabled.

1 Like