@resistdesign/voltra
    Preparing search index...

    Interface AutoFormViewProps

    Props for the AutoFormView component.

    interface AutoFormViewProps {
        controller: FormController;
        onCustomTypeAction?: (payload: CustomTypeActionPayload) => void;
        onRelationAction?: (payload: RelationActionPayload) => void;
        onSubmit: (values: FormValues) => void;
        submitDisabled?: boolean;
    }
    Index

    Properties

    controller: FormController

    Prepared controller that supplies field state.

    onCustomTypeAction?: (payload: CustomTypeActionPayload) => void

    Optional custom type action handler.

    onRelationAction?: (payload: RelationActionPayload) => void

    Optional relation action handler for reference fields.

    onSubmit: (values: FormValues) => void

    Submit handler invoked with validated form values.

    submitDisabled?: boolean

    Disable the submit button when true.