7 Replies
default
works in the CreatePageBest to use this for setting defaults:
https://filamentphp.com/docs/3.x/panels/resources/editing-records#customizing-data-before-filling-the-form
The issue is when creating a new record, unfortunately none of these hooks is triggerd
is it a custom livewire component?
No, just a toggle as first element of a Tab Form, to toggle visibility of the address form.
ok, but are you using the panel builder or only the form builder?
How can I find this? I think panel builder right? I just extracted the fields to an extra class
I found out, that this behavior happens because of the visibility of the surrounding Grid is dependent on another field. I guess it will be best if I make an example repo, because it seems like a bug for me. For now I just inverted all the logic