EasyUI Forum
May 14, 2024, 10:09:02 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: Chosen like combo dropdown?  (Read 7772 times)
aswzen
Sr. Member
****
Posts: 287


Indonesian

aswzen
View Profile WWW Email
« on: November 03, 2015, 03:28:21 AM »

I see there is no combo plugin with builtin search feature, if i refer to combobox the search feature is overriding the value of combo, i mean if we write something in combobox and the value is not existed on combo list there are no errors.

How to make combo/select with search functionality but not override the combo value..see this fiddle
http://jsfiddle.net/d0x4628L/

try to write "Sony" after that leave the combo..i want the "Sony" text dissapear because "Sony" is not listed in current list..
sample: https://harvesthq.github.io/chosen/

Thank You in advance
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 03, 2015, 06:25:35 PM »

You can bind the 'blur' event on the inputing box, or override the 'search' functionality. Please refer to http://jsfiddle.net/d0x4628L/1/
Logged
aswzen
Sr. Member
****
Posts: 287


Indonesian

aswzen
View Profile WWW Email
« Reply #2 on: November 03, 2015, 06:39:21 PM »

thank you Smiley

i think its better to make that as builtin feature
« Last Edit: November 03, 2015, 06:42:21 PM by aswzen » Logged

Regards,
Sigit

- Indonesian jEasyUI Facebook page : https://www.facebook.com/groups/jeasyuiid/
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!