-
Notifications
You must be signed in to change notification settings - Fork 903
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request: Children #186
Comments
@jocelynduc it doesn't seem to work there. Can you describe what this feature is about? |
I put a new example where the feature is actually working: The idea of this feature is to group options. In the example, you can see that the cities are grouped by country. Have a look at it, it speaks by itself |
I think you can achieve similar result with custom option templates, since items are already grouped. The part that is missing, is ability to select children. I will check if there is any way to make it work for now. |
@varnastadeus If you will be able to create example on demo page with items grouping and custom templates that would be great. |
Any update on this? I believe it will just need to act the same as optgroup in vanilla html.
|
Hi @carlhussey, I started working on this, home will implement it during this or next week. |
I made a simple workaround to do what you're expecting while waiting for the native feature.
With a JSON object like this:
|
I just pushed support for grouping items with |
@anjmao Updated your library version and already using it ! It's working like a charm, thanks ! |
I'm very much favor of an |
Hi, Can I make like dropdown - click by country and show citiyes ? |
?? |
I'm also looking for
|
I would like to use ng-select with "children" as we can do with:
https://optimistex.github.io/ng2-select-ex/
Is this available? on the roadmap?
The text was updated successfully, but these errors were encountered: