1. #1
    Sencha User Dumas's Avatar
    Join Date
    Dec 2008
    Location
    Vienna, Austria
    Posts
    579
    Vote Rating
    9
    Dumas will become famous soon enough

      0  

    Default ComboBox getValue should return the real value, not the displayValue

    ComboBox getValue should return the real value, not the displayValue


    Hi!

    I have ComboBox with displayField and valueField
    When I now use el.getValue() I'm getting the displayField, not the valueField
    What do I have to do to get the value?

    thx
    Dumas

  2. #2
    Ext User
    Join Date
    Jul 2008
    Location
    China
    Posts
    74
    Vote Rating
    0
    joehebe is on a distinguished road

      0  

    Default


    Ext.getCmp('comboId').getValue();

  3. #3
    Sencha User Dumas's Avatar
    Join Date
    Dec 2008
    Location
    Vienna, Austria
    Posts
    579
    Vote Rating
    9
    Dumas will become famous soon enough

      0  

    Default


    thx

Thread Participants: 1