Fix focus issue when select-input has placeholder
This commit is contained in:
parent
00a019b227
commit
e3751422f0
@ -2637,6 +2637,7 @@ the specific language governing permissions and limitations under the Apache Lic
|
|||||||
.attr('for', this.search.attr('id'));
|
.attr('for', this.search.attr('id'));
|
||||||
|
|
||||||
this.search.on("input paste", this.bind(function() {
|
this.search.on("input paste", this.bind(function() {
|
||||||
|
if (this.search.attr('placeholder') && !this.search.val()) return;
|
||||||
if (!this.isInterfaceEnabled()) return;
|
if (!this.isInterfaceEnabled()) return;
|
||||||
if (!this.opened()) {
|
if (!this.opened()) {
|
||||||
this.open();
|
this.open();
|
||||||
|
Loading…
Reference in New Issue
Block a user