FieldController

core_form/choicedropdown~ FieldController

new FieldController(elementId)

Description:
  • Class constructor.

Source:
Parameters:
Name Type Description
elementId String

Form element id

Methods

addEventListeners()

Description:
  • Add form element event listener.

Source:

disableInteractiveDialog()

Description:
  • Disable the choice dialog and convert it into a regular select field.

Source:

hasForceDialog() → {Boolean}

Description:
  • Check if the field has a force dialog attribute. // * The force dialog is a setting to force the javascript control even in behat test.

Source:
Returns:

if the dialog modal should be forced or not

Type
Boolean

isDisabled() → {Boolean}

Description:
  • Check if the field is disabled.

Source:
Returns:
Type
Boolean

(async) updateDropdown()

Description:
  • Update selected option preview in form.

Source:

(async) updateSelect()

Description:
  • Update selected option preview in form.

Source: