Hi, I have some apps that update a sharepoiint choice column that have two possible values -- Yes and No.
I have been using a toggle control to set these values, but the toggle control requires that I have a default value of either Yes or No. If user does not even interact with the control the default is sent to sharepoint. I need to be able to have an indefined or Blank() state on the Toggle so that if a user does not even touch it , no value is sent back to sharepoint.
I tried using radio buttons to render the columns but it seems that if a user clicks a radio button to select it, then clicks it again to un-select it the second click does not unselect the option (it just reselects it),
I tried using checkboxes, and this works, but the UI looks odd and there is a lot of repeated code to test if the checkbox was already checked, and if the other checkbox was checked, etc.
I tried using a slider with the range -1 to +1, and this works too , but again, the UI looks odd.
How do other people handle a Yes/No choice column in Sharepoint with the option of have a third (unknown) choice that just sets the value to null in the sharepoint list?
I know how to sent the values back to sharepoint, I'm asking how to collect the data (the three possible states) in the UI.