cfg.cls += ' roo-form-group-label-left';
cfg.cn = [
+ {
+ tag : 'i',
+ cls : 'roo-required-indicator left-indicator text-danger fa fa-lg fa-star',
+ tooltip : 'This field is required'
+ },
{
tag: 'label',
'for' : id,
cls : 'control-label',
html : this.fieldLabel
- cn: [
- {
- tag : 'i',
- cls : 'roo-required-indicator left-indicator text-danger fa fa-lg fa-star',
- tooltip : 'This field is required'
- }
- ]
+
},
{
cls : "",
'for' : id,
cls : 'control-label',
html : this.fieldLabel
- cn: [
- {
- tag : 'i',
- cls : 'roo-required-indicator left-indicator text-danger fa fa-lg fa-star',
- tooltip : 'This field is required'
- }
- ]
+
+ },
+ {
+ tag : 'i',
+ cls : 'roo-required-indicator right-indicator text-danger fa fa-lg fa-star',
+ tooltip : 'This field is required'
},
{
cls : "",
} else if ( this.fieldLabel.length) {
// Roo.log(" label");
cfg.cn = [
+ {
+ tag : 'i',
+ cls : 'roo-required-indicator left-indicator text-danger fa fa-lg fa-star',
+ tooltip : 'This field is required'
+ },
{
tag: 'label',
//cls : 'input-group-addon',
html : this.fieldLabel
- cn: [
- {
- tag : 'i',
- cls : 'roo-required-indicator left-indicator text-danger fa fa-lg fa-star',
- tooltip : 'This field is required'
- }
- ]
},
tag: 'label',
//cls : 'input-group-addon',
html : this.fieldLabel
- cn: [
- {
- tag : 'i',
- cls : 'roo-required-indicator left-indicator text-danger fa fa-lg fa-star',
- tooltip : 'This field is required'
- }
- ]
- }
+
+ },
+
+ {
+ tag : 'i',
+ cls : 'roo-required-indicator right-indicator text-danger fa fa-lg fa-star',
+ tooltip : 'This field is required'
+ },
combobox
if (align ==='left' && this.fieldLabel.length) {
cfg.cn = [
-
+ {
+ tag : 'i',
+ cls : 'roo-required-indicator left-indicator text-danger fa fa-lg fa-star',
+ tooltip : 'This field is required'
+ },
{
tag: 'label',
cls : 'control-label',
html : this.fieldLabel
- cn : [
- {
- tag : 'i',
- cls : 'roo-required-indicator left-indicator text-danger fa fa-lg fa-star',
- tooltip : 'This field is required'
- }
- ]
+
},
{
cls : '',