-
-
Notifications
You must be signed in to change notification settings - Fork 107
Description
I have two Select elements. The second Select is initially disabled until the value of the first element is changed to something other than 'all'. The behavior works as expected in vanilla HTML/JS with no MaterializeCSS. When using MaterailizeCSS, the disabled attribute is removed from the second Select but the control fails to become enabled.
Expected Behavior
My expectation is that when I remove the disabled attribute and/or set the disabled property to false on the second Select, it should become active.
Current Behavior
The second Select never becomes enabled when the value of the first select is changed from 'all' to something else.
Steps to Reproduce (for bugs)
- Click first Select
- Change value
Context
I am seeking to control the state of the second select based on the value in the first select.
Your Environment
Mac OS 11.5.2
RAM 32GB
Visual Studio Code
Materialize 1.1.0-alpha
Chrome v92.0.4515.159
Code Pen Link: link