Skip to content

TRegisterFormValues object

TRegisterFormValues is an object that represents an object of configuration parameters necessary to fire a register method which consists of the following fields:

  • mail: string
  • password: string
  • name: string (optional)
  • lastname: string (optional)
  • phone: string (optional)
  • street: string (optional)
  • flat_number: string (optional)
  • postal_code: string (optional)
  • city: string (optional)
  • country: string (optional)

Where [key: string]: unknown represents all the custom additional fields that you can add to the form via an admin panel.