Set a default selection for a Dropdown
Last updated
Last updated
Copyright © 2019 - 2024 InfoSol Ltd. All rights reserved.
The default behaviour of a dropdown component is to not have any item initially selected. To change this use the Selected Item property in the INTERACTIVITY drawer of the properties panel.
Select either Label or Position from the property options, then in the empty property field directly below, bind to an appropriate value. If you have chosen Label and the dropdown box contains five options e.g. Red, Green, Blue, Black, White, binding to a cell that contains the word Red, will ensure that Red is the default selection. If you have chosen Position, binding to a cell that contains a 2 will ensure that Green is the default selection.
In the example below, Position has been selected, the cell bound to the property contains a 2, therefore the second item in the list is the default selection: