combobox下拉列表中有数据A,B,C
但是用户输入D后直接回车,输入框则会被清空,因为列表中没有D
http://www.jeasyui.com/forum/index.php?topic=3831.0
The user can type text directly into the top of list. The top of list means the textbox component. The user can enter text into the textbox but can not make the entered text become one of the list items except that you write some code to achieve this functionality.
When enter
some text and press ENTER key, the combobox will search and select what
item you hovered or selected. If no item selected, the entered text will
be cleared because the entered text does not match any items in the
list.
这个问题没法解决。只好放弃这个控件了。
时间: 2024-10-27 17:36:55