Disable an option or use optgroup to create a separator in select options

More
2 years 6 months ago #82285 by nikitagupta2106
Hi,

I saw some posts from 6 years ago but there's no answer. I also read that OptGroup function is added in v2.0.3 beta but I don't know or can't an option.

I am looking for a way to create a header inside selection options in the either of the format:

Code:
<select> <optgroup label="CITY 1"> <option>City 1 branch A</option> <option>City 1 branch B</option> <option>City 1 branch C</option> </optgroup> </select>

or in this format, if the above is not possible:

Code:
<select> <option disabled>CITY 1</option> <option">City 1 branch A</option> <option>City 1 branch A</option> <option>City 1 branch A</option> </select>

Please help.

Please Log in or Create an account to join the conversation.

More
2 years 6 months ago #82292 by micker
hello
sorry its not possible

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
2 years 6 months ago - 2 years 6 months ago #82295 by nikitagupta2106
Okay. Have to figure something out then! This seems like a small addon for an amazing component like FlexiConent :(

Like in RSForm Pro!, simply adding [d] to the options would disable it. Hope to see such a feature in the future.

Thanks anyway.
Last edit: 2 years 6 months ago by nikitagupta2106.

Please Log in or Create an account to join the conversation.

More
2 years 6 months ago #82296 by micker
i will add in github .. maybe we can add it in feature

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
2 years 6 months ago #82297 by nikitagupta2106
Awesome! Thank You.

I hope you don't mind me asking if this could be included in the next update and if yes, when is that update going to happen? :)

Please Log in or Create an account to join the conversation.

More
2 years 6 months ago #82298 by micker
no its just an idea for futur
not sure that will add this and not sure that in next release
for now next version is closed we only add bugg fix

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.362 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline