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
awcodes3mo ago
Because the EditAction is reading the resource. You need a custom action in this case.
PabloZagni
PabloZagni3mo ago
Like this. Ok. But I need to save the modified field.
No description
awcodes
awcodes3mo ago
You’ll have the data from the form in ->action() do what you need to do with it there.
Solution
PabloZagni
PabloZagni3mo ago
Solved!
No description
Want results from more Discord servers?
Add your server