Skip to content
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

JS error on clear #42

Closed
RomeroMsk opened this issue Jun 4, 2015 · 5 comments
Closed

JS error on clear #42

RomeroMsk opened this issue Jun 4, 2015 · 5 comments
Labels

Comments

@RomeroMsk
Copy link
Contributor

When clicking on clear button JS error will appear:

Uncaught TypeError: Cannot set property 'prevented' of undefined

You can reproduce it in demos page.

@kartik-v
Copy link
Owner

kartik-v commented Jun 4, 2015

This is related to this issue on Select2 ... for which I had worked on a temporary fix within the yii2-widget-select2 extension using Select2 events - will check how to work around this based on the progress of the requested change in the plugin.

@RomeroMsk
Copy link
Contributor Author

I think it was too early to update Select2 to 4.0 in your widget. It has so many bugs...

@kartik-v
Copy link
Owner

kartik-v commented Jun 4, 2015

The widget was upgraded only after the stable release of Select2 plugin v4.0.0.

Bugs in the plugin are not in my control though.

The previous release can be picked up here if you need... although I feel the newer version is more extensible inspite of the bugs.

@RomeroMsk
Copy link
Contributor Author

Of course, it is not in your control, just a thought that it was not stable release at all. Now after composer update we can not use your widget because of all these bugs... Will downgrade to previous release.
And yes, of course, 4.0 is much extensible and better, just need some time to fix some stuff :)

@RomeroMsk
Copy link
Contributor Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants