Form not submitting user_id even though when I dd the submission the user_id is present
This is my form
return $form
->schema([
Forms\Components\Select::make('user_id')
->relationship('user', 'name')
->required(),
Forms\Components\TextInput::make('rank')
->required(),
Forms\Components\TextInput::make('no_of_research')
->required()
->numeric(),
]); return $form
->schema([
Forms\Components\Select::make('user_id')
->relationship('user', 'name')
->required(),
Forms\Components\TextInput::make('rank')
->required(),
Forms\Components\TextInput::make('no_of_research')
->required()
->numeric(),
]);