You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 7, 2021. It is now read-only.
When the array elements are integers such as [1,2,3,4] which is still a javascript array, the setValue will not work. In that case, I had to manually map it as myArray.map(String) before using.
I would also appreciate being able to set selected directly into the option while looping through it in the HTML, because the value is often has a different key name than the package is offering, so in that case I also have to convert my data to something that fits well with package if I would like to set data through javaScript.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When the array elements are integers such as
[1,2,3,4]
which is still a javascript array, the setValue will not work. In that case, I had to manually map it asmyArray.map(String)
before using.I would also appreciate being able to set
selected
directly into the option while looping through it in the HTML, because the value is often has a different key name than the package is offering, so in that case I also have to convert my data to something that fits well with package if I would like to set data through javaScript.The text was updated successfully, but these errors were encountered: