I want to have the ability to remove selected choice from OptionField

Description of the limitation and why it is relevant to address

In an OptionField it is impossible to remove the selected option once one has been selected. You can change the option of course but not empty the field. A use case in which this can be relevant is the following.

You want to create a geotechnical length profile of several soil layouts stored in an entity. In the parent entity where you create the profile you want to be able to edit one of the layouts to avoid having to click back and forth. Therefore an OptionField is added with the options equal to the soil layout entities and a table in which the soil layout gets added with the press of a button. The layout in the table can be edited and saved in the soil layout entity with a different button. After doing the edits you want to unselect the OptionField so that the table and buttons disappear for a clearer UI and to avoid other users thinking you are still in the editing process.

Submitter proposed design (optional)

Give the OptionField an “x” button similar to AutoCompleteField.

Current workarounds

Use AutoCompleteField instead of OptionField. Possible, but not always ideal.

Hi Rutger,

thanks for the clear request en elaborate description. I will discuss internally if this can easily be added to the optionfield.