How to change the modals title on createOptionForm from BelongsToSelect? #2680
otavio-araujo
started this conversation in
General
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How to change the modals heading on createOptionForm from BelongsToSelect?
use Filament\Forms\Components\BelongsToSelect;
use Illuminate\Database\Eloquent\Model;
BelongsToSelect::make('authorId')
->relationship('author', 'name')
->createOptionForm([
Forms\Components\TextInput::make('name')
->required(),
Forms\Components\TextInput::make('email')
->required()
->email(),
]),
Beta Was this translation helpful? Give feedback.
All reactions