List Dropdown Widget - fourctv/JS44D GitHub Wiki
The 4D List Drop Down widget is a wrapper on a HTML select input, where the drop down options are taken from a 4D Choice List.
Inputs
The component's selector is <fourd-dropdown>, and it takes the following input variables:
- listName: the name of the 4D Choice List, whose items will become the select's options
- selectedValue: the initial value for the select input
Example
<fourd-dropdown class="fieldEntry" style="width: 120px;"
listName="Status"
[(selectedValue)]="currentRecord.LicenseStatus"
(change)="currentRecord.LicenseStatus = $event.target.value">
</fourd-dropdown>