not to set unchanged field to server

not to set unchanged field to server 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.


  • allanallan Posts: 62,211Questions: 1Answers: 10,205 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.


  • 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.