bootstrap select2 modal box, enter the search box can not solve the problem


Modal box, automatically bring a general property, tabindex = "- 1", because of this property, can not lead to select2 input search box, remove this property can be solved

image.png


image.png


image.png



 html The tabIndex property may be provided in the keyboard TAB key to move in the control sequence , i.e., the order of focus.  

 The control tabIndex property to . 1 to 32767 a value, this control can be added to the TAB key sequence in.



Original Address: Bootstrap Select2 modal box, enter the search box can not solve the problem
Tags: Bootstrap    Select2   

Intelligent Recommendation

Guess you like

Origin www.cnblogs.com/apanly/p/12446264.html