You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you click on the clear all button on a Ajax enabled select2 (either single or multiple), the action fires a request to the ajax source. This is in the scenario where the dropdown is forcibly kept closed by the code given in the issue below.
I have found 1 other mention of this in Prevent select2:open when clearing selection#3320 where @kevin-brown comments on a post by @nafetsrybak with the same issue and suggests he creates a bug - however I cannot find if a bug was raised or not.
I have tested this in 4.0.13 and here is the jsbin
I did not know how to do a mockdata ajax request in jsbin but by using a url of "" still allows the problem to be highlighted. The select initially gets loaded with the options data, then on pressing clear button you can see in the Network tab of the developer tools, a request is sent even though the dropdown remains closed.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
When you click on the clear all button on a Ajax enabled select2 (either single or multiple), the action fires a request to the ajax source. This is in the scenario where the dropdown is forcibly kept closed by the code given in the issue below.
I have found 1 other mention of this in Prevent select2:open when clearing selection#3320 where @kevin-brown comments on a post by @nafetsrybak with the same issue and suggests he creates a bug - however I cannot find if a bug was raised or not.
I have tested this in 4.0.13 and here is the jsbin
I did not know how to do a mockdata ajax request in jsbin but by using a url of "" still allows the problem to be highlighted. The select initially gets loaded with the options data, then on pressing clear button you can see in the Network tab of the developer tools, a request is sent even though the dropdown remains closed.
The text was updated successfully, but these errors were encountered: