not to set unchanged field to server

not to set unchanged field to server

networkadmin@asaiatm.comnetworkadmin@asaiatm.com Posts: 8Questions: 4Answers: 0

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

  • allanallan Posts: 61,611Questions: 1Answers: 10,089 Site admin

    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

  • networkadmin@asaiatm.comnetworkadmin@asaiatm.com Posts: 8Questions: 4Answers: 0

    figured out by making values as enum and keeping label and values as same for time being

Sign In or Register to comment.