Custom editAction to edit single field

Hi. I need an Action on the header of a viewPage, that opens a form with a Select and edit a single field of the model. This code allways opens the full edit form. Any ideas?
No description
Solution:
Solved!
No description
Jump to solution
4 Replies
awcodes
awcodes5mo ago
Because the EditAction is reading the resource. You need a custom action in this case.
PabloZagni
PabloZagniOP5mo ago
Like this. Ok. But I need to save the modified field.
No description
awcodes
awcodes5mo ago
You’ll have the data from the form in ->action() do what you need to do with it there.
Solution
PabloZagni
PabloZagni5mo ago
Solved!
No description
Want results from more Discord servers?
Add your server