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
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