EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 10, 2024, 05:41:00 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
>
editable combo's onchange not firing when typing into box
Pages: [
1
]
« previous
next »
Print
Author
Topic: editable combo's onchange not firing when typing into box (Read 2644 times)
chrwei
Full Member
Posts: 219
editable combo's onchange not firing when typing into box
«
on:
December 29, 2020, 07:31:06 AM »
Code:
$("#test").combo({
required:true,
label: "test",
onChange: function(n,o) {
console.log(n, o)
}
});
onChange never fires, and getValue returns empty string.
Logged
jarry
Administrator
Hero Member
Posts: 2262
Re: editable combo's onchange not firing when typing into box
«
Reply #1 on:
December 30, 2020, 08:28:18 PM »
The combo is the base component for all other drop-down components. It does nothing in displaying data. You should call 'setValue' method to trigger the 'onChange' event. If you want a drop-down list component, use the combobox component instead.
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...