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
Is it by design that
minLengthdoesn't pass through to<input>?TypeScript: lib.dom.ts for
HTMLInputElementHTML:
minlengthforHTMLInputElementon MDNMy 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