From 1b1bf4cdbe73176835095a69c1ca39babe799e0d Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Wed, 22 Apr 2020 16:38:16 -0500 Subject: [PATCH] Pass maxLength directly to TextInput component --- app/gabsocial/features/edit_profile/index.js | 1 + app/gabsocial/features/forms/index.js | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/app/gabsocial/features/edit_profile/index.js b/app/gabsocial/features/edit_profile/index.js index 0725f9b31..806d4cd42 100644 --- a/app/gabsocial/features/edit_profile/index.js +++ b/app/gabsocial/features/edit_profile/index.js @@ -92,6 +92,7 @@ class EditProfile extends ImmutablePureComponent { name='display_name' value={this.state.display_name} maxLength={30} + size={30} onChange={this.handleTextChange} /> {label}