Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Is there a way with the Form API to specify that one oreor more #options#options in a 'select' element should be disabled? I would like to insert a separator in my dropdown options that is not a selectable value.
Is there a way with the Form API to specify that one ore more #options in a 'select' element should be disabled? I would like to insert a separator in my dropdown options that is not a selectable value.
Is there a way with the Form API to specify that one or more #options in a 'select' element should be disabled? I would like to insert a separator in my dropdown options that is not a selectable value.
How to add separator option in Form API 'select' element?
Is there a way with the Form API to specify that one ore more #options in a 'select' element should be disabled? I would like to insert a separator in my dropdown options that is not a selectable value.