Picker/SegmentedEditor's "unwanted" default selection for optional null value


#1

Hello community:

I am trying to use Picker or SegmentedEditor to edit a form entity with pre-defined list. The source value is null, and the property is optional, so we’d like to keep it as is, i.e. no item is selected, if the user did not actually pick something.

The problem is, the Picker and SegmentEditor will always default to the first choice, thus change the value of the data collected to something not-intended. User can not “unselect” it either.

How can we keep it as “nothing selected”/“no value” for those entities?

I noticed the “List” editor does not force a selection, but I’d like to know if it is possible with the other two.

Thanks!