Skip to content

Is there a backstory behind minLength not passing through to <input>? #155

@tony

Description

@tony

Is it by design that minLength doesn't pass through to <input>?

TypeScript: lib.dom.ts for HTMLInputElement
HTML: minlength for HTMLInputElement on MDN

My supposition is that in React minLength (react) -> minlength (HTML)

Sandbox: https://codesandbox.io/s/react-18-playground-react-debounce-input-case-8pln0b?file=/src/index.tsx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions