Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Extjs.form.field.Trigger with a help icon

Tags:

extjs

Is there a built-in icon and class for making a trigger with a help icon (like there is a class 'x-form-clear-trigger' for a trigger with a delete icon)?

More general: is somewhere in the extjs documentation a list of predefined styles for the trigger field type?

like image 300
jfu Avatar asked Feb 15 '23 10:02

jfu


1 Answers

Native ExtJS have this four possible trigger class (list you can find in the first comment on triggerCls documentation):

x-form-clear-trigger     // the X icon
x-form-search-trigger    // the magnifying glass icon
x-form-trigger           // the down arrow (default for combobox) icon
x-form-date-trigger      // the calendar icon (just in case)

Native class for help icon does not exists, but you can define your own css class and use it as triggerCls

like image 141
Akatum Avatar answered Feb 17 '23 00:02

Akatum