CollectionUpsert is a [models.Collection] upsert (create/update) form.

Hierarchy

Implemented by

Methods

  • SetDao replaces the default form Dao instance with the provided one.

    Parameters

    Returns void

  • Submit validates the form and upserts the form's Collection model.

    On success the related record table schema will be auto updated.

    You can optionally provide a list of InterceptorFunc to further modify the form behavior before persisting it.

    Parameters

    Returns void

  • Validate makes the form validatable by implementing [validation.Validatable] interface.

    Returns void

Properties

createRule?: string
deleteRule?: string
id: string
indexes: JsonArray<string>
listRule?: string
name: string
options: JsonMap
schema: schema.Schema
system: boolean
type: string
updateRule?: string
viewRule?: string

Generated using TypeDoc