Search code examples
extjsextjs3

How to get the value of selected displayField in ExtJS Combobox


How to get the value of selected displayField in ExtJS 3.4 ComboBox? getValue() returns valueField, but I need other.


Solution

  • combo.getValue() -> the valueField
    combo.getRawValue() -> the displayField