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
cheesegrits
cheesegrits15mo ago
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.
awcodes
awcodes15mo ago
createOptionForm() is the method you are looking for.
cheesegrits
cheesegrits14mo ago
Thanks. I was on my phone.
Want results from more Discord servers?
Add your server