"Saving data to a BelongsTo relationship" nullable foreign key workaround

Regarding https://filamentphp.com/docs/3.x/forms/advanced#saving-data-to-a-belongsto-relationship

Is there any way around this? I'd prefer not to make my foreign keys nullable.

Could I create a custom Livewire component or page for creating a new resource? I could then handle the logic in there (create parent, attach relation).
Was this page helpful?