0
votes

In App maker for drop downs there is a option to set nullItemName, default one is No selection. In my scenario we are taking values from models which has empty values I want to show empty values as blanks but if we change the nullItemName property.

It is changing for the default app maker one and the empty values from the models. Image is attached for the reference.

Here you can see two same values one is app maker default No selection and the other in from the datasource empty item.

Dropdown image

1
Null is null... what is sense to show exact same option multiple times? You can just filter out nulls from the drop down options... - Pavel Shkleinik
we are not showing multiple options, one is the default value and the other option is from the model. we are providing options from model. Pleas let us know how can we rename the options - Hemanth kumar

1 Answers

1
votes

Dropdown widget has two properties: options and names. By specifying both of them you'll explicitly tell App Maker to display specific name for each option:

// options
[1, null, 3, 4]

// names
['One', 'Two', 'Three', 'Four']

Editor

Options/names editor

Runtime

Options/names runtime

For sure you can use binding for these properties.