heroi
Hi guys,
I'm starting using filament and i'm searching for a solution that allows me to create related records inside parent form.
I have a ProjectResource where I can create the Project, but when I edit this, I should be able to create a category and adding another category and so on.
Any tips?
3 Replies
The Select field has an option to create new records (in a modal) when used with relationship(). So in your case I would assume you are selecting the Category(s) for a Product, and could simply enable record creation on the select.
createOptionForm() is the method you are looking for.
Thanks. I was on my phone.