EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
June 16, 2024, 09:59:01 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
Combobox scroll bar not working in IE
Pages: [
1
]
« previous
next »
Print
Author
Topic: Combobox scroll bar not working in IE (Read 3930 times)
keja
Newbie
Posts: 26
Combobox scroll bar not working in IE
«
on:
May 21, 2021, 06:43:27 AM »
We have added a extender for combobox to clear the input text if it does not exist in the item list of combo box. It works fine in all browsers.
$.extend($.fn.combobox.defaults.inputEvents, {
blur: function (e) {
$.fn.combobox.defaults.keyHandler.enter.call(e.data.target);
},
});
Laster we observed that in Internet Explorer (any version), the scroll bar for combo box does not work. Attached is the screen shot for your reference.
If we comment the a line of code in the function, scroll bar works well. However input text wont clear if it is not in the item list of combo box.
Could you please help us to achieve both ?
Logged
jarry
Administrator
Hero Member
Posts: 2265
Re: Combobox scroll bar not working in IE
«
Reply #1 on:
May 23, 2021, 07:22:17 PM »
To limit the inputed values to the listed items, please set the 'limitToList' property value to true instead.
Code:
$('#cc').combobox({
limitToList: true
...
})
Logged
keja
Newbie
Posts: 26
Re: Combobox scroll bar not working in IE
«
Reply #2 on:
May 31, 2021, 11:27:37 PM »
Thank you Jarry. It works !
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...