3

can anybody tell How to bring fieldLabel without colon for combo box in extjs

Thanks

mohan
  • 13,035
  • 29
  • 108
  • 178

1 Answers1

10

use labelSeparator : "" config of combobox to fix the issue.

Refer below example

Ext.create('Ext.form.ComboBox', {
    fieldLabel: 'Choose State',
    store: states,
    queryMode: 'local',
    displayField: 'name',
    valueField: 'abbr',
    labelSeparator : "",
    renderTo: Ext.getBody()
});

Thanks, sure it will work.

Hariharan
  • 3,191
  • 4
  • 19
  • 31