An application that allows the user to configure change flags on an item

Hierarchy (View Summary)

Constructors

Properties

dragDropHighlightTimeout: null | Timeout
entries: any
isBoolean: boolean
isFlag: boolean
isFlat: boolean
originalEntries: any
subtitle: undefined | string
DEFAULT_OPTIONS: { classes: string[]; position: { width: number } } = ...
PARTS: { footer: { template: string }; form: { template: string } } = ...

Accessors

Methods

  • Initialize the configuration for this application. Override the default ID to be unique to this entry selector instance based on document and attribute that is being edited.

    Parameters

    • options: ApplicationConfiguration

      The provided configuration options for the Application

    Returns ApplicationConfiguration

    The final configuration values for the application

  • Internal

    Returns Promise<
        {
            buttons: { icon: string; label: string; type: string }[];
            document: any;
            dtypes: string[];
            entries: any;
            fields: string[];
            id: any;
            isBoolean: boolean;
            isFlat: boolean;
        },
    >

  • Internal

    Save the new data back to the document.

    Parameters

    • ...this: any
    • event: SubmitEvent

      The originating form submission event

    • form: HTMLFormElement

      The form element that was submitted

    • formData: FormDataExtended

      Processed data for the submitted form

      • object

        The object of the form

    Returns Promise<void>