fix(datetime): ensure that default month shown is always in bounds (#25351)

Resolves #25320
This commit is contained in:
Sean Perkins
2022-06-02 22:27:25 -04:00
committed by GitHub
parent 4195f7ee28
commit 866d4528ad
5 changed files with 97 additions and 10 deletions

View File

@ -798,7 +798,7 @@ export namespace Components {
*/
"readonly": boolean;
/**
* Resets the internal state of the datetime but does not update the value. Passing a valid ISO-8601 string will reset the state of the component to the provided date. If no value is provided, the internal state will be reset to today.
* Resets the internal state of the datetime but does not update the value. Passing a valid ISO-8601 string will reset the state of the component to the provided date. If no value is provided, the internal state will be reset to the clamped value of the min, max and today.
*/
"reset": (startDate?: string | undefined) => Promise<void>;
/**