-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot dynamically populate data from ajax response #79
Comments
I do this to dynamically update from Ajax response, just make sure
|
I am also working on a new release where adding data dynamically should be possible. |
There is a problem with this approach, the selected values are not passed to the request. I'm waiting for update from @JostCrow to see his approach. |
Hello, i'm using dynamic option value, but when i try to add or remove it return a error: Uncaught TypeError: Cannot read properties of undefined (reading 'selected') even my option have selected element already:
|
Hi, I had a similar issue and found that the "value" is expected to be a string value. I couldn't tell from your example the data type you are using. A quick fix might be to try: value : val['id'].toString(), when loading the data. Watch out for how this data conversation might affect other bits of your downstream logic. |
Hi there,
I just trying get data from ajax, and I want to try to populate array of data / response to DualListBox (available or selected)
Can you please just give me the right way?
Thankyou
The text was updated successfully, but these errors were encountered: