Currently, the status column in my Power App has two types: "Approved" and "Pending."
My objective is to ensure that this column cannot be edited once the status is set to "Approved."
I used the following syntax to control the status:
If(
StatusDropdown_1.Selected.Value = "Approved",
DisplayMode.View,
DisplayMode.Edit
)
But when I changed the status from Pending to Approved, this field will become DisplayMode.View. Then, when I click my save button, it won't update this field.
How to achieve this function?
Thank you