Class: FormOptionFieldBase

FormOptionFieldBase

Class containing common view code for dropdown, checkboxgroup and radiobutton


new FormOptionFieldBase()

Extends

  • module:FormView~FormOptionFieldBase

Methods


updateEnumForRadioButtonAndCheckbox(newEnums, createItemCallback)

Common method to update the enums of checkbox and radiobutton

Parameters:
Name Type Description
newEnums Array

updated enum values

createItemCallback CallableFunction

function to create options


updateEnumNamesForRadioButtonAndCheckbox(newEnumsNames, createItemCallback)

Common method to update the enums Names of checkbox and radiobutton

Parameters:
Name Type Description
newEnumsNames Array

updated enum Names values

createItemCallback CallableFunction

function to create options