-
Notifications
You must be signed in to change notification settings - Fork 133
Platform: Date Picker Component Technical Design
Kevin Okamoto edited this page Feb 19, 2020
·
10 revisions
The DatePicker is an input component for selecting a date or date range.
See Fundamental NGX:Core implementation of Date Picker.
<fdp-date-picker
[(ngModel)]="startDate"
[type]="'single'"
[format]="MM/dd/yyyy"
[compact]="true"
[state]="'valid'"
[disabled]="true"
>
</fdp-date-picker>
The Platform DatePicker component will more or less be a wrapper around the Core DatePicker component. As such, the bindings for the Platform DatePicker component are the are the same as the bindings for the Core DatePicker component.
As this is an input control it needs to implement the FormFieldControl
as described in the FormGroup Layout or extend existing BaseInputComponent.