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
Select2 on clear does not change input element value NOR fire change event #3452
Comments
Must have missed this ticket, but I can't seem to reproduce the issue. Can you expand upon the issue you are facing by adding a few more pieces of information to your bug report?
The contributing guide contains a useful section with a few questions which can help us track down the bug and speed up the process of finding a fix for it. The creation of an isolated test case would also be useful. |
Actually my mistake in describing - the This was more related to issue #3320 when the select2 does not close on clearing. Was trying to trap the value of the input after The |
@kartik-v Had the same problem (in a complex ajax & pagination scenario) but I've just missed to add the placeholder option like |
@andreasbernhard I feel the solution is that on pressing the clear icon, the input val must be cleared and the |
Please continue discussion in #3320. |
On clearing a value (when
allowClear
) is true... the baseselect
element value is not changed (shows the old value) - NOR is the change event triggered.The text was updated successfully, but these errors were encountered: