i have richSelect element on my page and function that returns array of strings, how do i place those strings in selectbox?
do you mean that item’s id is a string array?
what I mean is that i have array of strings and i want to make the richselect element that contains each string in array as an item
yes, thank you, but what if i will change this array later in the code?
if you want to use the same array later, then you need to use options: webix.copy(stringArrayData)
if you need to add item to richselect options, then you can use getList
method and add item to list explicitly
https://docs.webix.com/api__ui.richselect_getlist.html
https://snippet.webix.com/t55p71qw
got it, thanks