Answer the question
In order to leave comments, you need to log in
How to create a select like in Avito?
So that both the category and subcategory are displayed, but that the category is disabled
Answer the question
In order to leave comments, you need to log in
Read here
grouped_options = [
['Group 1',
["Item 1", "Item 2", "Item 3"]],
['Group 2',
["Item 1", "Item 2", "Item 3", "Item 4"]]
]
grouped_options_for_select(grouped_options)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question