Select2 loose render after save #3425
Answered
by
fabio-algomera
fabio-algomera
asked this question in
1. Help
-
Beta Was this translation helpful? Give feedback.
Answered by
fabio-algomera
Feb 20, 2023
Replies: 1 comment
-
I solved it myself. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
fabio-algomera
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I solved it myself.
I simply added
:id="$id('select2multiple')"
to the wrapper div containing the component.With this solution, I removed
wire:ignore
and now I can dynamically add the options plus the component does not lose style/functionality after the$refresh
event. :)