David R.
David R.
I have the same issue if one or more options has a blank label, i.e. ``. Regardless of what I set the data-size to, the max-height is always set to...
In the cleave.min.js file in v1.6.0, locate and change this code: `t.isBackward=t.isBackward||"deleteContentBackward"===e.inputType;` To: `t.isBackward=t.isBackward||(typeof e!=="undefined"&&"deleteContentBackward"===e.inputType);` In my case, "e" is actually undefined. By introducing the typeof check, the "setPhoneRegionCode" method...
In the cleave.min.js file in v1.6.0, locate and change this code: `t.isBackward=t.isBackward||"deleteContentBackward"===e.inputType;` To: `t.isBackward=t.isBackward||(typeof e!=="undefined"&&"deleteContentBackward"===e.inputType);` In my case, "e" is actually undefined. By introducing the typeof check, the "setPhoneRegionCode" method...
> have you tried this version? Maybe works... I hope... > > https://snippet.host/ympdgo > > [#2837](https://github.com/snapappointments/bootstrap-select/issues/2837) Nope, sorry. I've updated the JSFiddle, but the same issue is happening: https://jsfiddle.net/L04192pd/1/
Sorted! By adding the line in highlighted below, this fixed the issue in that when the dropdown opens, the list scrolls to the selected option so it displays in the...