Mobile IOS input type date min and max not working on chrome and safari

Viewed 8566

I have the following cshtml which works perfectly on Android, Windows and Mac safari and chrome.

<input type="date" min="1900-01-01" max="@DateTime.Now.AddYears(-18).ToString("yyyy-MM-dd")" />

However when using my iPhone it ignores both the min and max values both on Chrome and Safari.

Has anyone encountered the above issue and if so do you know why it wouldn't be working specifically for IOS mobile ?

1 Answers
Related