PAGE form field default not populating field

The form displays OK but the default value is not populated

public function form(Form $form): Form
{
    return $form
    ->schema([
        TextInput::make('num_send')
        ->default(7)
        ->numeric(),
     ])
    ->statePath('data');
}
Solution
I have to remmber to look at the console messages...
I needed to add the field to the $data []
Was this page helpful?