Form
import type { Form } from "https://aws-api.deno.dev/v0.4/services/amplifyuibuilder.ts?docs=full";
Contains the configuration settings for a Form
user interface (UI) element for an Amplify app.
A form is a component you can add to your project by specifying a data source as the default configuration for the form.
interface Form {
appId: string;
cta?: FormCTA | null;
dataType: FormDataTypeConfig;
environmentName: string;
fields: {};
[key: string]: FieldConfig | null | undefined;
formActionType: FormActionType;
id: string;
name: string;
schemaVersion: string;
sectionalElements: {};
[key: string]: SectionalElement | null | undefined;
style: FormStyle;
tags?: {} | null;
}[key: string]: string | null | undefined;
§Properties
§
dataType: FormDataTypeConfig
[src]The type of data source to use to create the form.
§
fields: {}
[src][key: string]: FieldConfig | null | undefined;
Stores the information about the form's fields.
§
formActionType: FormActionType
[src]The operation to perform on the specified form.
§
sectionalElements: {}
[src][key: string]: SectionalElement | null | undefined;
Stores the visual helper elements for the form that are not associated with any data.