new FieldController(elementId)
Class constructor.
Parameters:
Name | Type | Description |
---|---|---|
elementId |
String | Form element id |
Methods
addEventListeners()
Add form element event listener.
disableInteractiveDialog()
Disable the choice dialog and convert it into a regular select field.
hasForceDialog() → {Boolean}
Check if the field has a force dialog attribute. // * The force dialog is a setting to force the javascript control even in behat test.
Returns:
if the dialog modal should be forced or not
- Type
- Boolean
isDisabled() → {Boolean}
Check if the field is disabled.
Returns:
- Type
- Boolean
(async) updateDropdown()
Update selected option preview in form.
(async) updateSelect()
Update selected option preview in form.