-
Notifications
You must be signed in to change notification settings - Fork 1
List Dropdown Widget
Julio Carneiro edited this page Nov 21, 2017
·
3 revisions
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.
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
<fourd-dropdown class="fieldEntry" style="width: 120px;"
listName="Status"
[(selectedValue)]="currentRecord.LicenseStatus"
(change)="currentRecord.LicenseStatus = $event.target.value">
</fourd-dropdown>