From 3e7d90e7b46b05d673905d3efee3e89e2ebaa93d Mon Sep 17 00:00:00 2001 From: edward Date: Thu, 23 Nov 2017 19:15:13 +0800 Subject: [PATCH] Roo/bootstrap/TriggerField.js --- Roo/bootstrap/TriggerField.js | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/Roo/bootstrap/TriggerField.js b/Roo/bootstrap/TriggerField.js index 9b6c5b46ff..756475b701 100644 --- a/Roo/bootstrap/TriggerField.js +++ b/Roo/bootstrap/TriggerField.js @@ -301,14 +301,12 @@ Roo.extend(Roo.bootstrap.TriggerField, Roo.bootstrap.Input, { tag: 'label', 'for' : id, cls : 'control-label', - html : this.fieldLabel, - cn: [ - { - tag : 'i', - cls : 'roo-required-indicator right-indicator text-danger fa fa-lg fa-star', - tooltip : 'This field is required' - } - ] + html : this.fieldLabel + }, + { + tag : 'i', + cls : 'roo-required-indicator right-indicator text-danger fa fa-lg fa-star', + tooltip : 'This field is required' }, { cls : "", @@ -320,7 +318,7 @@ Roo.extend(Roo.bootstrap.TriggerField, Roo.bootstrap.Input, { ]; labelCfg = cfg.cn[0]; - contentCfg = cfg.cn[1]; + contentCfg = cfg.cn[2]; } if(this.labelWidth > 12){ -- 2.39.2