Title: Combobox setText Post by: y.bykov on March 15, 2017, 05:45:55 AM Is it possible to change view text after select value in combobox?
I use groupField and want that after value select text will change to group_name::value_name. If use onSelect handler this text change but after this EasyUI change it to value_name again in combo plugin. Title: Re: Combobox setText Post by: stworthy on March 15, 2017, 08:03:03 AM Please try this code:
Code: $('#cc').combobox({ Title: Re: Combobox setText Post by: y.bykov on March 15, 2017, 12:16:02 PM Thank you!
Title: Re: Combobox setText Post by: y.bykov on May 04, 2017, 04:44:17 AM If I use {limitToList: true} in combobox, row[opts.groupField]+':' string part reset and stay only row[opts.textField].
Is it possible to fix for save previous onChange behaviour? Thank you Title: Re: Combobox setText Post by: stworthy on May 04, 2017, 06:56:03 PM You can override the 'setValue' and 'setValues' methods to set your customized text on the inputing box.
Code: (function($){ Usage example: Code: $('#cc').combobox({ |