码迷,mamicode.com
首页 > 其他好文 > 详细

easyui combobox 输入列表中不存在的值后直接回车

时间:2014-12-03 11:48:12      阅读:501      评论:0      收藏:0      [点我收藏+]

标签:style   http   io   ar   color   sp   for   on   数据   

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.

这个问题没法解决。只好放弃这个控件了。

easyui combobox 输入列表中不存在的值后直接回车

标签:style   http   io   ar   color   sp   for   on   数据   

原文地址:http://www.cnblogs.com/CodingArt/p/4139405.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!