I am using a UiPath form for some automation. I have a couple of radio buttons defaulting to values. These values seem like they only default the selection but on submission they do not actually save to the variable like I would expect. I get an error: System.NullReferenceException: Object reference not set to an instance of an object.
Is this working as designed or is there something I’m missing to get these values to store in the variables?
I am using a string. These should default to the values “loggedOut” and “address”. Instead they are null. If I manually select an option it populates correctly.
It is a variable within the same scope. Again, it works correctly if I manually choose it, but when using it as a “Default” option within the form it stores nothing.
Radio button options are marked as “Default” in the form designer and are pre-selected on load. When I submit, these values are stored as null instead of the associated string. If I were to manually select the radio button options, they populate may variable with the correct string. So I think this is a bug related to the default selection feature.