not to set unchanged field to server
not to set unchanged field to server

i have form which has fields such as select field as
{ label: "Accepted", value: "23" },
{ label: "Rejected", value: "24" },
{ label: "Pending", value: "25" },
but when i change the value, instead of label -> value is shown on ui . is there a way i can update the value and show only label when changed.
This discussion has been closed.
Answers
I think I'll need a link to a test case showing the issue for this one please. That
23
is shown as an option suggests that it was included in the label / value pair as a value.Allan
figured out by making values as enum and keeping label and values as same for time being