Results 1 to 5 of 5

Thread: combobox setValue/setRawValue dont change highlighted value when combobox expanded

  1. #1
    Sencha User
    Join Date
    Aug 2012
    Posts
    6

    Default combobox setValue/setRawValue dont change highlighted value when combobox expanded

    Using the combobox.setValue() and .setRawValue() methods on a combobox that is already loaded successfully changes the value displayed in the combobox itself

    however.. if the drop down list is expanded (drop-down list is clicked to show all values available for selection) the value that is actually highlighted is the value at the top of the list, not the value that has just been set.
    This is different behaviour to if you were to change a combobox value selection manually instead of through the javascript methods

    what is the correct method of repositioning which value is actually highlighted?

    thanks in advance - it would be really helpful to know this!

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,379

    Default

    What Ext JS 3.x.x version are you using?
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

  3. #3
    Sencha User
    Join Date
    Aug 2012
    Posts
    6

    Default

    3.4.0

  4. #4
    Sencha User
    Join Date
    Jun 2016
    Posts
    5

    Default

    Was this issue ever resolved? I'm having a similar issue in ExtJS 6

  5. #5
    Sencha User
    Join Date
    Jun 2016
    Posts
    5

    Default

    Actually, this appears to be due to a plugin I'm using...nevermind.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •