From: Alan Knowles Date: Thu, 24 Jan 2019 08:45:39 +0000 (+0800) Subject: Roo/bootstrap/TriggerField.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=4ffc2acc70e8c4f8ce1fdb7e29a83ef637888d2a Roo/bootstrap/TriggerField.js --- diff --git a/Roo/bootstrap/TriggerField.js b/Roo/bootstrap/TriggerField.js index b9fc8faa53..b018d22ebb 100644 --- a/Roo/bootstrap/TriggerField.js +++ b/Roo/bootstrap/TriggerField.js @@ -22,7 +22,7 @@ trigger.applyTo('my-field'); * {@link Roo.bootstrap.DateField} and {@link Roo.bootstrap.ComboBox} are perfect examples of this. * @cfg {String} triggerClass An additional CSS class used to style the trigger button. The trigger will always get the * class 'x-form-trigger' by default and triggerClass will be appended if specified. - * @cfg {String} caret (search|calendar) a fontawesome for the trigger icon see http://fortawesome.github.io/Font-Awesome/icons/ + * @cfg {String} caret (search|calendar) BS3 only - carat fa name * @constructor * Create a new TriggerField. @@ -230,7 +230,7 @@ Roo.extend(Roo.bootstrap.TriggerField, Roo.bootstrap.Input, { tag :'span', cls : 'input-group-addon input-group-append input-group-text btn dropdown-toggle', cn : [ - caret, + Roo.bootstrap.version == 3 ? caret : '', { tag: 'span', cls: 'combobox-clear',