Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

setOptions does not update items created in dropbox #58

Closed
mjesteve opened this issue Aug 14, 2021 · 2 comments
Closed

setOptions does not update items created in dropbox #58

mjesteve opened this issue Aug 14, 2021 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@mjesteve
Copy link

Hi,
I think there is a small bug with the setOptions method, it does not update the pre-existing options in the dropdown:

GIF 15-08-2021 0-54-46

if instead of using setOptions I use setServerOptions we get the expected result:

GIF 15-08-2021 1-16-23

Hiedra.

@sa-si-dev sa-si-dev self-assigned this Aug 15, 2021
@sa-si-dev sa-si-dev added the question Further information is requested label Aug 15, 2021
@sa-si-dev
Copy link
Owner

@mjesteve this is expected behavior only. setOptions() method would override existing options with new options.

@mjesteve
Copy link
Author

Thanks for the clarification ;)
I will continue to use setServerOptions because I want to see the dataprovider changes as soon as I send them to it and not when I move or select any.

Thanks for replying.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants