41
Views
1
Comments
Solved
How can I add an empty dropdown option to the dropdown list
Application Type
Reactive

I am using a dropdown column in a datagrid, and I need a blank selection.

How can I add an empty dropdown option (Value = '-1', Text = '') to the dropdown list? 


2026-01-28 16-57-48
Mihai Melencu
Champion
Solution

Hi @hon kenpaku ,

You can use a Data Action to fetch the options for your dropdown. Before assigning the aggregate list to your output list, use ListAppend to add a blank record. This will insert a blank option at the top of the dropdown for an empty selection.

I recommend not using an empty string ("") for the Text property, as the record may not display correctly.

 Instead, consider using something like 'Blank' or another placeholder text.

I also attached a sample OML, the blank record is in the Department column.

SampleDataGrid.oml
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.