EasyUI Forum
September 14, 2025, 08:18:48 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Combobox remove unlisted text after search  (Read 7373 times)
aswzen
Sr. Member
****
Posts: 287


Indonesian

aswzen
View Profile WWW Email
« on: November 05, 2015, 04:19:33 AM »

Combobox search still input the search parameter instead of removing it

see this fiddle:
http://jsfiddle.net/d0x4628L/2/

in Phone input box try to write 'S' , then Sony and Samsung appear,
after that press both Sony and Samsung
and then in the input box text will appear 'S,Sony,Samsung' ...

Why does the 'S' text still appear? i just want use the input box as an item searcher.

How to make the 'S' dissapear after i select the items on list?

Thank You in advance
« Last Edit: February 16, 2018, 05:13:04 AM by aswzen » Logged

Regards,
Sigit

- Indonesian jEasyUI Facebook page : https://www.facebook.com/groups/jeasyuiid/
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: November 05, 2015, 08:11:49 AM »

After type something on the inputing box, you must press 'ENTER' key to do a selection, otherwise the inputing value will be stored as the combobox value. If you wish to erase the non-existing value, you can attach the 'blur' event on the inputing box. For more information please refer to http://jsfiddle.net/d0x4628L/3/
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!