How can i change form input value from header actions action closure? #10044
Answered
by
leandrocfe
halil-cosdu-bear
asked this question in
Help
-
|
Hello all, how can i achieve change Form input value from action closure? `class ViewTicket extends ViewRecord }` |
Beta Was this translation helpful? Give feedback.
Answered by
leandrocfe
Dec 3, 2023
Replies: 2 comments 11 replies
-
|
Sorry, I didn't understand what you need |
Beta Was this translation helpful? Give feedback.
11 replies
-
|
In case someone stumble upon here with the same need, in Filament 5 we can also achieve this by - ->action(function (array $data, Schema $schema, Action $action) {
$schema->getComponentByStatePath('form_field_name')->state('value');
$action->halt();
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Hum, ok. Use