Skip to content

"min" and "max" attributes for inputs with type="date" are strings #88

Closed
@purcell

Description

@purcell

Hi! I noticed that "min" and "max" are constrained to the type Number in the allowed attributes list for input elements. In the case of "date" inputs, these attributes must contain strings (see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date). I'm not sure what the best solution would be here... maybe a different element type for dateInput? Happy to submit code if you can suggest a way forward.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions