- 27 Jul 2022
- 1 Minute to read
- Print
- DarkLight
Pre Populated Drop Down Lists
- Updated on 27 Jul 2022
- 1 Minute to read
- Print
- DarkLight
Overview
Example Lab Details | |
Version | 6.9.2 |
Root Folder | Example Lab - Drop Down List |
Modules | None |
Dependencies | None |
This Example Lab project demonstrates how to display a Form with a pre-populated dropdown list Form component.
Explanation
The Example Lab project requires the input of a list of strings to populate the drop-down list. Custom input can be added when running the Flow or when creating a unit test in the debugger. The unit test provides a list of names to be used as an example. Whether at run-time or as a unit test, the Form will pre-populate the dropdown list with the input provided. The dropdown list can be expanded and searched for the desired selection, which is especially beneficial with larger data sets, like a corporation with thousands of accounts. Enter some text in the dropdown list text box and the matching values appear in the list. This can be tested using the unit test by beginning to type "Hannah" and observing that the remainder of the name will be auto-filled.