jamespickard
jamespickard
FFilament
Created by jamespickard on 9/9/2024 in #❓┊help
Calling refreshFormData on repeater clears them
@Leonardo what do you think about creating a GitHub issue?
10 replies
FFilament
Created by jamespickard on 9/9/2024 in #❓┊help
Calling refreshFormData on repeater clears them
Ah it works, I forgot to add the trait
10 replies
FFilament
Created by jamespickard on 9/9/2024 in #❓┊help
Calling refreshFormData on repeater clears them
Hmm, it looks good and the buttons appear but they don't seem to do anything. I will try to debug it.
10 replies
FFilament
Created by jamespickard on 9/9/2024 in #❓┊help
Calling refreshFormData on repeater clears them
@Leandro Ferreira just checking if you think is worth creating a GitHub issue for? I want to create "next" and "previous" buttons on my form, and I found this solution but it seems unlikely to work if refreshFormData doesn't work for repeater types. https://github.com/filamentphp/filament/discussions/7716
10 replies
FFilament
Created by jamespickard on 9/9/2024 in #❓┊help
Calling refreshFormData on repeater clears them
That worked but I don't really know why. The only thing I can find about fillForm in the docs is in the context of modals. Is there a bug with refreshFormData? Should I create a GitHub issue?
10 replies
FFilament
Created by jamespickard on 9/7/2024 in #❓┊help
Documentation doesn't actually say what the components do
Ah, it appears to be in the form schema.
7 replies
FFilament
Created by jamespickard on 9/8/2024 in #❓┊help
How to model one-to-many and allow "many" updates inside the "one" form?
Ah, there is simple() specifically for that, nice!
6 replies
FFilament
Created by jamespickard on 9/8/2024 in #❓┊help
How to model one-to-many and allow "many" updates inside the "one" form?
Ah yes, this works well, thank you. I will have to change things a bit since Repeater seems to expect an array of object, rather than an array of strings and sadly the very helpful mutateRelationshipDataBeforeFillUsing seems to only get called for Eloquent relations and not when using JSON columns.
6 replies
FFilament
Created by jamespickard on 9/7/2024 in #❓┊help
How can I use Filament styles?
Ah, thank you. I suspect that actually wiring it in this way is going to be difficult or impossible, though.
5 replies
FFilament
Created by jamespickard on 9/7/2024 in #❓┊help
Documentation doesn't actually say what the components do
Similarly, where would I add the action? I would assume the resource's form schema, but that's not right. https://filamentphp.com/docs/3.x/forms/actions
7 replies
FFilament
Created by jamespickard on 9/7/2024 in #❓┊help
Documentation doesn't actually say what the components do
Another point with the documentation, the examples are often missing context. I get that this is done for brevity, but it's confusing as a new user. I want to create an action, but the examples on the Action page don't actually show where to put the code (or even the import path for Action) https://filamentphp.com/docs/3.x/actions/overview
7 replies
FFilament
Created by jamespickard on 9/7/2024 in #❓┊help
Documentation doesn't actually say what the components do
Ah, it's in the Getting Started section, not the Installation section
7 replies