EasyUI Forum
November 04, 2025, 01:33:26 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: onChange Event  (Read 11496 times)
leela
Newbie
*
Posts: 29


View Profile Email
« on: May 28, 2014, 11:37:33 AM »

The onChange Event for combobox or datebox or numberbox gets triggered every time we type a letter in the box.
If I am not wrong, it is supposed to be triggered only when we are done typing in the box and go to the next field, like it happens in the normal HTML TextBox
Let me know if my understanding is wrong.
Logged
gordis gmbh
Full Member
***
Posts: 103


View Profile Email
« Reply #1 on: March 15, 2016, 07:36:35 AM »

Is there a solution to this behaviour? The onchange gets triggered when we type and since there is no item yet selected, we cannot process the change.

The problem with onselect is firstly it doesn't deliver oldValue and second it provides a record object and not just the newValue.

Any help is appreciated.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!