TheCrazyBob
TheCrazyBob
FFilament
Created by TheCrazyBob on 8/23/2023 in #❓┊help
How do I make a relationship optional?
I have a fieldset with multiple select fields. I want to make sure the relationship is not saved if all the fields inside the fieldset are empty. However, currently Filament is trying to create an empty record for the salary relation. How do I avoid that?
Fieldset::make('listing_salary_id')
->relationship('salary')
->label('Salary Range')
->schema([
Fieldset::make('listing_salary_id')
->relationship('salary')
->label('Salary Range')
->schema([
14 replies
FFilament
Created by TheCrazyBob on 8/21/2023 in #❓┊help
How to remove create / create another buttons from wizard?
16 replies