ArkUI: Add more documentation on Combobox #2954
-
I was trying the combobox and somehow the callback that provides back the selected value was returning only the first item no matter which item you click. After like 1 hour of debuggning I found out that the Collection class we create, we should implement the value callback and provide the ID of the Item. It works fine if you provide a collection of strings or a collection that has a Value property but if that is not the case, the value callback of the Collection must be implemented. Please add on the docs an explaination that this must be implemented. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Similar to this, if we are using a combobox with |
Beta Was this translation helpful? Give feedback.
https://ark-ui.com/react/docs/guides/collection