[Dropdown] "refresh" and "refreshItems" are not working #2033
Answered
by
lubber-de
smartm0use
asked this question in
Modules (Modal, Dropdown, Popup, Calendar, Toast, ...)
-
Hello, I need to change an option status after an async call but I can't get it updated in the dropdown.
I have to use
Here is a JSFiddle: https://jsfiddle.net/6y8d4qxo/2/ Is anything wrong with my usage? |
Beta Was this translation helpful? Give feedback.
Answered by
lubber-de
Jul 28, 2021
Replies: 1 comment 1 reply
-
This is a bug, because the select observer should detect changes to the select tag and recreate the menu automatically. I fixed this by #2034 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
lubber-de
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a bug, because the select observer should detect changes to the select tag and recreate the menu automatically.
Unfortunately it did not detect attribute changes to option tags.
I fixed this by #2034
See https://jsfiddle.net/lubber/hjdv6bnL/9/