Alex Manase
Alex Manase
FFilament
Created by Alex Manase on 6/12/2024 in #❓┊help
How to test `headerActions`/`footerActions` from the Section component?
My mistake was that I didn't properly called the component when I tested, because I used multiple forms in the same component.
6 replies
FFilament
Created by Alex Manase on 6/12/2024 in #❓┊help
How to test `headerActions`/`footerActions` from the Section component?
Yes, you can test, like all the other forms from inside the component. https://filamentphp.com/docs/3.x/forms/testing#actions
6 replies
FFilament
Created by GDG on 5/25/2024 in #❓┊help
3.2.79 appears to have broken Select that aren't multiple (Not sure if this is specific to Shield)
I have the same issue.
7 replies
FFilament
Created by Alex Manase on 9/19/2023 in #❓┊help
Filter for unique values is not working
because the default for select() is [*]
5 replies
FFilament
Created by Alex Manase on 9/19/2023 in #❓┊help
Filter for unique values is not working
I select all columns
5 replies
FFilament
Created by Alex Manase on 9/19/2023 in #❓┊help
Public method [mountAction] not found on component when adding an action to a form modal
2 replies
FFilament
Created by Alex Manase on 9/12/2023 in #❓┊help
How to validate a single field when using a form action?
Thank you @leandro_ferreira for your help!
22 replies
FFilament
Created by Alex Manase on 9/12/2023 in #❓┊help
How to validate a single field when using a form action?
I solved my issue.
22 replies
FFilament
Created by Alex Manase on 9/12/2023 in #❓┊help
How to validate a single field when using a form action?
$this->validateOnly('mountedTableActionsData.0.keywords')
$this->validateOnly('mountedTableActionsData.0.keywords')
22 replies
FFilament
Created by Alex Manase on 9/12/2023 in #❓┊help
How to validate a single field when using a form action?
Actually, I just fixed it. All I had to do was
22 replies
FFilament
Created by Alex Manase on 9/12/2023 in #❓┊help
How to validate a single field when using a form action?
I'll check on this
22 replies
FFilament
Created by Alex Manase on 9/12/2023 in #❓┊help
How to validate a single field when using a form action?
Because there is a method validateOnly inside InteractsWithForm and it doesn't seem to work. Anyway, I have to spend more time in order to be sure if this is a bug, a new feature or if it's not documented enough.
22 replies
FFilament
Created by Alex Manase on 9/12/2023 in #❓┊help
How to validate a single field when using a form action?
Thank you for your help!
22 replies
FFilament
Created by Alex Manase on 9/12/2023 in #❓┊help
How to validate a single field when using a form action?
this seems to be too much configuration for having a button that validates a single input. I will open tomorrow a feature request/bug report on Github
22 replies
FFilament
Created by Alex Manase on 9/12/2023 in #❓┊help
How to validate a single field when using a form action?
ok, and where is the form?
Inside an action of a table function
Action::make('edit')->form([
// like this
])
Action::make('edit')->form([
// like this
])
are you using statePath?
No.
you can also use a suffixAction
I tried, but I need to use an icon in order for the suffix action to work. I just want a button with the label "Submit". Also I think there should be a more suitable way to validate specified fields. What if someone wants a min-form inside the form?
22 replies
FFilament
Created by Alex Manase on 9/12/2023 in #❓┊help
How to validate a single field when using a form action?
22 replies
FFilament
Created by Alex Manase on 9/12/2023 in #❓┊help
How to validate a single field when using a form action?
Like this:
22 replies
FFilament
Created by Alex Manase on 9/12/2023 in #❓┊help
How to validate a single field when using a form action?
inside
$table->actions([
// my actions
])
$table->actions([
// my actions
])
22 replies