Skip to content

GenerateGroup

Group component used for complex form object data.

API

You can get the group component instance by getComponent.

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 sets the disabled state of fields in a group

validate

  • () => promise

    Validate the fields in the group

setOptions

  • (fields, options) => void

    Set the grouping field configuration

setData

  • ({id: value}) => Promise

    Setting group data

getValue

  • (field) => value

    Get the input value of a field in a group

getValues

  • () => object

    Get all the input value of a field in a group

addClassName

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

    Add a style class to a field item in a group

removeClassName

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

    Remove a style class from a field item in a group