Add 'maxLength' prop to Input

merge-requests/1217/head
Justin 2022-04-12 09:50:29 -04:00 zatwierdzone przez Alex Gleason
rodzic 3e0d7de2cd
commit fd6ae83fe7
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -11,7 +11,7 @@ const messages = defineMessages({
hidePassword: { id: 'input.password.hide_password', defaultMessage: 'Hide password' },
});
interface IInput extends Pick<React.InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'required' | 'type'> {
interface IInput extends Pick<React.InputHTMLAttributes<HTMLInputElement>, 'maxLength' | 'onChange' | 'required' | 'type'> {
autoFocus?: boolean,
defaultValue?: string,
className?: string,