Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Inconsistency between min and max type #137

Closed
thangngoc89 opened this issue Dec 7, 2017 · 3 comments
Closed

Inconsistency between min and max type #137

thangngoc89 opened this issue Dec 7, 2017 · 3 comments

Comments

@thangngoc89
Copy link
Contributor

thangngoc89 commented Dec 7, 2017

Currently, min accepts int and max accepts string. I think they should have the same type which is string.

This is a valid syntax: <input type="date" name="bday" min="2000-01-02">

@chenglou I can send a quick PR to fix the type of min to string if you want. Could you confirm on this?

@chenglou
Copy link
Member

chenglou commented Jan 8, 2018

Sure! Thanks.

@dusterherz
Copy link

Any news on this issue ? Had the same problem with date inputs.

@peterpme
Copy link
Collaborator

For the sake of cleaning up the repo (and given how old this issue is) I'm going to close this out.

Please re-open if this is still relevant. Thanks!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants