You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Platform Date Picker is missing the read-only state #14705
Platform Date Picker (fdp-date-picker) has no working read-only state. It inherits a readonly input from BaseInput, but the component neither uses nor forwards it, and the underlying Core Date Picker has no full-control read-only input to forward to. As a result [readonly]="true" has no effect: the native input's readOnly stays false, the user can type a valid date (which commits and marks the control dirty), and the picker button still opens the calendar.
Expected behavior
[readonly]="true" marks the control read-only: typing a date and opening the picker are blocked, and no user action changes the value or marks the control dirty.
The native input reflects readOnly = true.
The control renders with a read-only visual state.
Programmatic updates (setValue, patchValue, writeValue, reset) still work while read-only.
Current behavior
readonly is not used/forwarded in the Platform Date Picker template.
Core Date Picker exposes no full-control read-only input.
Native input.readOnly remains false; typing a valid date commits it and marks the form dirty; the picker trigger still opens (aria-expanded → true).
Steps to reproduce
Set up an fdp-date-picker with [readonly]="true" and a seeded date.
Type a valid date (e.g. 1/3/1990), or click the picker button.
The value changes / the calendar opens; the control is marked dirty.
Dependencies / order of work
fundamental-styles first — add the missing read-only modifier/state classes
(the visual part) for the date picker / its input group and trigger button.
Activity