Skip to content
This repository has been archived by the owner on Nov 3, 2020. It is now read-only.

Purely numeric data-subtext breaks live search #13

Closed
daremon opened this issue Mar 6, 2018 · 2 comments
Closed

Purely numeric data-subtext breaks live search #13

daremon opened this issue Mar 6, 2018 · 2 comments
Labels

Comments

@daremon
Copy link

daremon commented Mar 6, 2018

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

@caseyjhol
Copy link
Member

Released in v1.13.0!

@ghost
Copy link

ghost commented Aug 26, 2018

This issue was moved by caseyjhol to snapappointments/bootstrap-select#2064.

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

No branches or pull requests

2 participants