Skip to content

GenerateGroup

Group component used for complex form object data.

API

Use getComponent(Group ID) to get the group component instance.

hide

  • (fields: []) => void

    Hide the fields in the group

display

  • (fields: []) => void

    Display the fields in the group

disabled

  • (fields, disabled: true | false) => void

    Dynamically disable the status of a field in a group

validate

  • () => promise

    Validate the fields in the group

setOptions

  • (fields, options) => void

    Set configuration for group field

setData

  • ({id: value}) => Promise

    Set data for group field

getValue

  • (field) => value

Get an input value for a field in the group

getValues

  • () => object

    Get an input value for all the field in the group

addClassName

  • (fields: [], className) => void

    Adds style classes to field items in a group

removeClassName

  • (fields: [], className) => void

    Remove style classes form the field items in a group