Skip to content

GenerateDialog

Dialog box component to generate individual object data.

API

Get the dialog component instance by getComponent(ID).

hide

  • (fields: []) => void

    Hide the fields in the dialog box

display

  • (fields: []) => void

    Display the fields in the dialog box

disabled

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

    Dynamically sets the disabled status of fields in the dialog box

open

  • () => void

    Open the dialog box

close

  • () => void

    Close dialogue box

validate

  • () => promise

    Verify the fields in the dialog box

setOptions

  • (fields, options) => void

    Set the dialog box field configuration item

setData

  • ({id: value}) => Promise

    Set dialog box data

getValue

  • (field) => value

    Get the input value for a field in the dialog box

getValues

  • () => object

    Get the values of all fields in the dialog box

addClassName

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

    Dialog box to add style classes to table entries

removeClassName

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

    Remove the form style class