Hello
I'm building a leave request app, and in the manager page I have a gallery that displays all the pending requests. In my datatable, I have a choice field with the options "Pending", "Approved" and "Rejected". Each time a user makes a request, that field is always set on the "Pending option".
As seen on the image, each request has a green and a red button, for approval and rejection. What I want is to change the option of the selected entry on button click: green for "Approved", red for "Rejected".
I also could make a singular "Approved" and "Rejected" button (avoiding overcrowding of screen space), but it needs to change only the selected entry.
I've tried different formulas and searching possible solutions for hours, to no avail.
Anyone can nudge me on the right direction? Am I missing something obvious?
Thank you in advance.
