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
See the TS Lint error Type 'string' is not assignable to type 'number'.
Related Code
None.
Expected Behavior
The min and max properties are supported for date inputs.
Additional Context
The commit 1d001a3 strong-typed min and max as number instead of string | number like it was before.
Issue is solved by using string | number again.
The text was updated successfully, but these errors were encountered:
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Bug Report
Ionic Info
Describe the Bug
The AlertController inputs no longer accept min and max dates for a date input.
Steps to Reproduce
Steps to reproduce the behavior:
Type 'string' is not assignable to type 'number'.
Related Code
None.
Expected Behavior
The
min
andmax
properties are supported for date inputs.Additional Context
The commit 1d001a3 strong-typed
min
andmax
asnumber
instead ofstring | number
like it was before.Issue is solved by using
string | number
again.The text was updated successfully, but these errors were encountered: