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

Fix JS error when autocomplete field is empty #9312

Merged
merged 1 commit into from
Apr 11, 2018

Conversation

teohhanhui
Copy link
Contributor

Q A
Branch? 1.0
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Related tickets N/A
License MIT

We should be good to go for browser compatibility because Array.prototype.filter() has been supported since IE 9: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter#Browser_compatibility and jQuery 3.x (which we're using) only supports IE 9+: https://jquery.com/browser-support/

@Zales0123 Zales0123 added the Potential Bug Potential bugs or bugfixes, that needs to be reproduced. label Apr 10, 2018
@pamil
Copy link
Contributor

pamil commented Apr 10, 2018

Looks like Symfony 3.4.x update broke the build, could you rebase with current 1.0 branch (it was fixed by #9322)?

@teohhanhui teohhanhui force-pushed the fix/sylius-autocomplete-js-empty branch from 03383ae to 3b493d4 Compare April 11, 2018 09:45
@teohhanhui
Copy link
Contributor Author

Rebased.

@pamil pamil merged commit 541958c into Sylius:1.0 Apr 11, 2018
@pamil
Copy link
Contributor

pamil commented Apr 11, 2018

Thank you, Teoh! 🥇

@teohhanhui teohhanhui deleted the fix/sylius-autocomplete-js-empty branch April 11, 2018 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Potential Bug Potential bugs or bugfixes, that needs to be reproduced.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants