public function form(Form $form): Form
{
return $form
->schema([
$this->getNameFormComponent(),
$this->getEmailFormComponent(),
Select::make( 'usertype' )
->options( ['client' => 'Client','provider' => 'Provider'] ),
$this->getPasswordFormComponent(),
$this->getPasswordConfirmationFormComponent(),
]);
}
public function form(Form $form): Form
{
return $form
->schema([
$this->getNameFormComponent(),
$this->getEmailFormComponent(),
Select::make( 'usertype' )
->options( ['client' => 'Client','provider' => 'Provider'] ),
$this->getPasswordFormComponent(),
$this->getPasswordConfirmationFormComponent(),
]);
}