Hi, is there any option to use Array index as the option value?
data=['foo', 'bar', 'john', 'doe']
I would like to use data index as the select option value which is started from 0 and the array value ('foo', 'bar', 'john', 'doe') as the option label
currently it's only support array object with prop value and label
Hi, is there any option to use Array index as the option value?
data=['foo', 'bar', 'john', 'doe']
I would like to use
data
index as the select option value which is started from 0 and the array value ('foo', 'bar', 'john', 'doe') as the option labelcurrently it's only support array object with prop
value
andlabel
Thanks