AdminUpsert is a [models.Admin] 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 admin model.

    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

avatar: number
email: string
id: string
password: string
passwordConfirm: string

Generated using TypeDoc