From fd6ae83fe7ae398e276cbfde384b1bc0402e1a27 Mon Sep 17 00:00:00 2001 From: Justin Date: Tue, 12 Apr 2022 09:50:29 -0400 Subject: [PATCH] Add 'maxLength' prop to Input --- app/soapbox/components/ui/input/input.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/soapbox/components/ui/input/input.tsx b/app/soapbox/components/ui/input/input.tsx index 4b81ed440..6441cd37b 100644 --- a/app/soapbox/components/ui/input/input.tsx +++ b/app/soapbox/components/ui/input/input.tsx @@ -11,7 +11,7 @@ const messages = defineMessages({ hidePassword: { id: 'input.password.hide_password', defaultMessage: 'Hide password' }, }); -interface IInput extends Pick, 'onChange' | 'required' | 'type'> { +interface IInput extends Pick, 'maxLength' | 'onChange' | 'required' | 'type'> { autoFocus?: boolean, defaultValue?: string, className?: string,