X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Roo%2Fbootstrap%2Fform%2FComboBox.js;h=7b9b4629d8ff5acdc63696e8513f1f84476e7980;hb=66d45bc0c3e910fc9477a810ba13c375f95a2df0;hp=d1fa4d80cd00d1655295c0f802d9c3dc5c116fd6;hpb=115bfd9767359ab843e5760efc0b98c4dc3815e1;p=roojs1 diff --git a/Roo/bootstrap/form/ComboBox.js b/Roo/bootstrap/form/ComboBox.js index d1fa4d80cd..7b9b4629d8 100644 --- a/Roo/bootstrap/form/ComboBox.js +++ b/Roo/bootstrap/form/ComboBox.js @@ -502,14 +502,13 @@ Roo.extend(Roo.bootstrap.form.ComboBox, Roo.bootstrap.form.TriggerField, { cls : 'roo-required-indicator ' + (this.indicatorpos == 'right' ? 'right' : 'left') +'-indicator text-danger fa fa-lg fa-star', tooltip : 'This field is required' }; - /* - * why? - if (Roo.bootstrap.version == 4) { + + if (this.allowBlank) { indicator = { tag : 'i', style : 'display:none' }; - }*/ + } if (align ==='left' && this.fieldLabel.length) { cfg.cls += ' roo-form-group-label-left' + (Roo.bootstrap.version == 4 ? ' row' : '');