This is a migrated thread and some comments may be shown as answers.

Is existing smart combo box?

5 Answers 62 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
준호
Top achievements
Rank 1
준호 asked on 08 Mar 2021, 12:53 AM

Hello, I'm find multi identifiable combo box. Is it implement?

current combobox

5 Answers, 1 is accepted

Sort by
0
준호
Top achievements
Rank 1
answered on 08 Mar 2021, 04:57 AM
Fix combo box fiddle url: https://jsfiddle.net/5v4w7m21/1/
0
Martin
Telerik team
answered on 10 Mar 2021, 02:25 PM

Hello, 

Could you please elaborate a bit what is the desired requirement? If I understand correctly, the ComboBox should select JAPEN either if you type "JPN" or "JAPEN". Am I missing something here?

Looking forward to your reply.

Regards,
Martin
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

0
준호
Top achievements
Rank 1
answered on 11 Mar 2021, 12:32 AM

Hello,

 

 

Sorry, my english skill is poor.

You perfectly understand. ComboBox should select JAPAN either if you type "JPN" or "JAPAN.

0
Nencho
Telerik team
answered on 15 Mar 2021, 04:10 PM

Hello,

Thank you for the clarification.

For that purpose, you can use the Change event of the Combobox, to check the typed in text. Then, if it is jpn - set the selection in the Combobox in the following manner:

function onChange(e)
  {    
    if(this.value() == "jpn"){
       e.sender.select(function(dataItem) {
          return dataItem.text === "JAPEN";
      });    
    }
  }

Here's the updated bin example: https://jsfiddle.net/hoctw8ax/3/ 

Hope this would help.

Regards,
Nencho
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

0
준호
Top achievements
Rank 1
answered on 16 Mar 2021, 06:10 AM

Hello,

 

That's what I wanted.

Thank you for your help even though my explanation is lacking.

Tags
ComboBox
Asked by
준호
Top achievements
Rank 1
Answers by
준호
Top achievements
Rank 1
Martin
Telerik team
Nencho
Telerik team
Share this question
or