Replies: 1 comment 1 reply
-
Currently I don't think map it is complex. I don't want add an API unless there are some scenarios without the API will be very hard to handle (maybe at least add 10 lines of code). |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
By default N-Select uses SelectOption type as select options source.
SelectOption object mostly looks like that:
But if I have a long data list of objects with another property than label and value.
For example I have similar:
How can i set this as options, not rewriting object itself.
I assume need to use render-option property, but this make me change standart html structure of n-select option.
Thats what I dont need, I need just change name of properties with values and labels.
Beta Was this translation helpful? Give feedback.
All reactions