PDA

View Full Version : How to override labelSeparator property at framework level



naveen.kumar
15 Jun 2012, 4:49 AM
Please tell me how to override labelseprator propertyglobally so that when we add any label in form ":" will never come. currently it come by default.I want to make this thing as a component or theme leve so that it will never come in our custom theme or component.Please provide me code for it.

redraid
15 Jun 2012, 5:59 AM
Ext.form.Labelable mixin - override label settings in base field:

Ext.form.BaseField.override({
labelSeparator: ''
});