not to set unchanged field to server
not to set unchanged field to server
![networkadmin@asaiatm.com](https://secure.gravatar.com/avatar/e3bd45cf0343f6a5dce65859a99de246/?default=https%3A%2F%2Fvanillicon.com%2Fe3bd45cf0343f6a5dce65859a99de246_200.png&rating=g&size=120)
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.
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