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

Purely numeric data-subtext breaks live search #2064

Closed
ghost opened this issue Aug 26, 2018 · 1 comment
Closed

Purely numeric data-subtext breaks live search #2064

ghost opened this issue Aug 26, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Aug 26, 2018

@daremon commented on Mar 6, 2018, 2:32 PM UTC:

An option like

<option data-subtext="123">text</option>

will break live search with error Uncaught TypeError: j.toUpperCase is not a function

I fixed it by changing this line to

string = string.toString().toUpperCase();

DEMO: http://jsfiddle.net/mfrup5bL/238/
ENV: bootstrap-select v1.13.0 with BS4

This issue was moved by caseyjhol from snapappointments/bootstrap-select-temp#13.

@ghost
Copy link
Author

ghost commented Aug 26, 2018

@caseyjhol commented on Apr 19, 2018, 3:29 PM UTC:

Released in v1.13.0!

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

No branches or pull requests

1 participant