this is working fine and displaying data.but when I want to push data(in array) on load ,then it is not showing in resultOptions(array). but data is coming in resultOptions(array), then
please suggest .what’s reason ? how i can solve this issue ?
one more thing add functionality is also not working ,
The component will read a list of options from resultOptions collection during UI initialization, it will not update the UI automatically when the source array is changed.
Component reads list of options only once.
If you have it correctly defined on a moment of component initialization, options will be used correctly. If a list of options is filled only after UI creation it will not be applied correctly.
The component provides API, that can be used to add|remove|load options dynamically. But those are separate API commands, there is no auto-binding to some array.