No property found for validation
I am trying to implement a custom registration form for a new v3 filament install and am following the instructions here -> https://filamentphp.com/docs/3.x/panels/users#customizing-the-authentication-features
So I created a new Page (
The custom form displays the new select dropdown fine however whenthe form is submitted the following Exception gets thrown:-
I added a call to dump out
Can someone tell me what I have missed here? Thanks!
So I created a new Page (
App/Filament/Pages/Auth/Register.php) and this class extends Filament\Pages\Auth\Register and has a single function as follows: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(),
]);
}The custom form displays the new select dropdown fine however whenthe form is submitted the following Exception gets thrown:-
No property found for validation: [name] I added a call to dump out
$this->form->getValidationRules() at the top of the register() method of the parent Filament\Pages\Auth\Register class and it shows the array of validation rules are there (including the 'usertype' field...Can someone tell me what I have missed here? Thanks!
