Repository navigation
refactor: move common date input logic into base class - #18213
Conversation
Moves the common logic for a date input into a base class and implements it for the range inputs.
| exportAs: 'matDatepickerInput', | ||
| }) | ||
| export class MatDatepickerInput<D> implements ControlValueAccessor, OnDestroy, Validator { | ||
| export class MatDatepickerInput<D> extends MatDatepickerInputBase<D> { |
There was a problem hiding this comment.
Does this need an inputs section in the decorator spec? I noticed that the API goldens show some inputs being removed
There was a problem hiding this comment.
The inputs got transferred onto the base class, but since it's not exported through the public API it won't show up in the golden. I think the golden only generates code for the class' own fields.
There was a problem hiding this comment.
Ok, I assumed tests would be broken if those inputs actually got removed, but just wanted to double check.
Moves the common logic for a date input into a base class and implements it for the range inputs.
Moves the common logic for a date input into a base class and implements it for the range inputs.
Moves the common logic for a date input into a base class and implements it for the range inputs.
Moves the common logic for a date input into a base class and implements it for the range inputs.
Moves the common logic for a date input into a base class and implements it for the range inputs.
Moves the common logic for a date input into a base class and implements it for the range inputs.
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Moves the common logic for a date input into a base class and implements it for the range inputs.