Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to bring fieldLabel without colon for combo box in extjs

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

Thanks

like image 348
mohan Avatar asked Dec 08 '25 10:12

mohan


1 Answers

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.

like image 71
Hariharan Avatar answered Dec 09 '25 23:12

Hariharan