// default form schema
function defaultRegistrationForm(){
return [
'name' => TextInput::make('name'),
'email' => TextInput::make('email'),
];
}
function getRegistrationFormSchema(){
// handle form schema customization
}
// form
$form->schema($this->getRegistrationFormSchema())
// default form schema
function defaultRegistrationForm(){
return [
'name' => TextInput::make('name'),
'email' => TextInput::make('email'),
];
}
function getRegistrationFormSchema(){
// handle form schema customization
}
// form
$form->schema($this->getRegistrationFormSchema())