interface MargaritaFormConfig {
    addMetadata?: boolean;
    afterChangesDebounceTime?: number;
    allowConcurrentSubmits?: boolean;
    allowEmptyString?: boolean;
    allowInvalidSubmit?: boolean;
    allowUnresolvedArrayChildNames?: boolean;
    allowValueToBeFunction?: boolean;
    appendControlValidationsToNode?: boolean;
    appendNodeValidationsToControl?: boolean;
    asyncFunctionWarningTimeout?: number;
    disableFormWhileSubmitting?: boolean;
    handleSuccesfullSubmit?:
        | "enable"
        | "disable"
        | "reset"
        | "reset-value"
        | "reset-state"
        | "none";
    localization?: I18NExtensionConfig;
    requiredNameCase?:
        | false
        | "camel"
        | "snake"
        | "kebab";
    resetFormOnFieldChanges?: boolean;
    resolveNodeTypeValidationsToControl?: boolean;
    runTransformersForInitialValues?: boolean;
    showDebugMessages?: boolean;
    sortValues?: false | "asc" | "desc";
    storage?: StorageExtensionConfig;
    syncronization?: SyncronizationExtensionConfig;
    transformUndefinedToNull?: boolean;
}

Hierarchy

  • Partial<Configs>
    • MargaritaFormConfig

Properties

addMetadata?: boolean
afterChangesDebounceTime?: number
allowConcurrentSubmits?: boolean
allowEmptyString?: boolean
allowInvalidSubmit?: boolean
allowUnresolvedArrayChildNames?: boolean
allowValueToBeFunction?: boolean
appendControlValidationsToNode?: boolean
appendNodeValidationsToControl?: boolean
asyncFunctionWarningTimeout?: number
disableFormWhileSubmitting?: boolean
handleSuccesfullSubmit?:
    | "enable"
    | "disable"
    | "reset"
    | "reset-value"
    | "reset-state"
    | "none"
localization?: I18NExtensionConfig
requiredNameCase?:
    | false
    | "camel"
    | "snake"
    | "kebab"
resetFormOnFieldChanges?: boolean
resolveNodeTypeValidationsToControl?: boolean
runTransformersForInitialValues?: boolean
showDebugMessages?: boolean
sortValues?: false | "asc" | "desc"
storage?: StorageExtensionConfig
syncronization?: SyncronizationExtensionConfig
transformUndefinedToNull?: boolean