public interface FormItemBaseStyle
formItem styling overview
for more information about styling formItems. The specified style name will be modified as the 'state' of the form item changes. Developers should provide appropriately named CSS classes for each stateful style described below:
FormItem.showPending
is true, when the current value
differs from the value that would be restored by a call to DynamicForm.resetValues()
, this style will have the suffix
"Pending" appended to it.FormItem.showFocused
is true, when the form item receives focus, this style will have the suffix "Focused" appended
to it.FormItem.showOver
is true,
roll-over will be indicated by appending the suffix "Over" appended to the style name. This applies to the
textBoxStyle
and controlStyle
only.FormItem.showErrorStyle
is true, if the form item
has errors, this style will have the suffix "Error" appended to it.FormItem.showDisabled
is true, when the form item is
disabled, this style will have the suffix "Disabled" appended to it.FormItem.showRTL
is true, when the form item is in RTL
mode, this style will have the suffix "RTL" appended to it.