Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CreateFormData

import type { CreateFormData } from "https://aws-api.deno.dev/v0.4/services/amplifyuibuilder.ts?docs=full";

Represents all of the information that is required to create a form.

interface CreateFormData {
cta?: FormCTA | null;
fields: {
[key: string]: FieldConfig | null | undefined;
}
;
formActionType: FormActionType;
name: string;
schemaVersion: string;
sectionalElements: {
[key: string]: SectionalElement | null | undefined;
}
;
style: FormStyle;
tags?: {
[key: string]: string | null | undefined;
}
| null;
}

§Properties

§
cta?: FormCTA | null
[src]

The FormCTA object that stores the call to action configuration for the form.

§

The type of data source to use to create the form.

§
fields: {
[key: string]: FieldConfig | null | undefined;
}
[src]

The configuration information for the form's fields.

§
formActionType: FormActionType
[src]

Specifies whether to perform a create or update action on the form.

§
name: string
[src]

The name of the form.

§
schemaVersion: string
[src]

The schema version of the form.

§
sectionalElements: {
[key: string]: SectionalElement | null | undefined;
}
[src]

The configuration information for the visual helper elements for the form. These elements are not associated with any data.

§

The configuration for the form's style.

§
tags?: {
[key: string]: string | null | undefined;
}
| null
[src]

One or more key-value pairs to use when tagging the form data.