scalar
How to save data to two models in createOptionForm of Select at the same time?
Hello everyone, hope you are doing well!
There is a
Client
model and a Group
model in the database.
Client model: id
, name
Group model: id
, name
, client_id
When creating a new client using createOptionForm
, I want to create a new group
based on client_id
after creating a new client
at the same time.
The problem is how to get client_id
and then save it to the Group
model.
This is the select tag:
Thank you!3 replies
How to open modal by clicking table column?
As a developer, I'm using Filament for my project and want to open the modal by clicking the table column, how can I do it?
Thank you!
Tables\Columns\IconColumn::make('video_interview_url')
->label('Video')
->icon('heroicon-o-video-camera')
->action(),
49 replies