jquery select2 - Is it possible to disable opening on key enter for select 2 (v 4.0.3) -


is possible disable opening on key enter select 2 (v 4.0.3). found somewhere can done options "openonenter: false", not work me.

unfortunately, no. @ time of version 4.0.3 @ least.
it's hardcoded:

this.on('keypress', function (evt) {   var key = evt.which;    if (self.isopen()) {     // skipped   } else {     if (key === keys.enter || key === keys.space ||         (key === keys.down && evt.altkey)) {       self.open();        evt.preventdefault();     }   } }); 

Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -