-
Notifications
You must be signed in to change notification settings - Fork 133
Platform: Date Picker Component Technical Design
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>
Sets date picker type. Choices are 'single' for picking a single date, or 'range' for picking a date range.
The placeholder text for date picker.
The date format for display of date. For format string syntax see https://angular.io/api/common/DatePipe
The locale for date picker. This property along with format
will set the display of date strings in the date picker.
Whether to show date picker in "compact" mode or not.
The state of the date picker. Setting this will change the color of the date picker border.
Sets the date picker to 'disabled'.
The current date selected when date picker dropdown is displayed.
The current date range selected when date picker dropdown is displayed.
Active view shown; one of 'day', 'month', 'year'.
The day of week which is displayed first in date picker.
Toggles validation of date picker input.
Aria label for date picker input.
Aria label for calendar toggle button.
Whether or not to allow 'null' values for date picker.
The placement of the popover. It can be one of: top, top-start, top-end, bottom, bottom-start, bottom-end, right, right-start, right-end, left, left-start, left-end.