3 months ago

Update resource from index

Posted 3 months ago by packy

Is there a way to update a resource record from the index view? I would imagine I could create a custom field to do this but have not seen much information. All I found in the FormField.vue file of a custom field is methods on how to populate the value and pass the value to the formdata in the edit view.

Here is the use case: many time when I have an backend that handles things like orders, it seems like a good UX would be to update an orders status from the index view, not click to edit, click select a new status, click save. From index view you could have a select field that would save the new status value when its changed. Much faster for something simple like that.

Anyone had experience with this?

Please sign in or create an account to participate in this conversation.