From f5cf2c48ca3a5069d2494890d22146eb144b40de Mon Sep 17 00:00:00 2001 From: Shekar Siri Date: Fri, 3 Feb 2023 15:36:43 +0100 Subject: [PATCH] change(ui) - other form input length --- frontend/app/components/Client/CustomFields/CustomFieldForm.js | 1 + frontend/app/components/Client/ProfileSettings/Settings.js | 2 ++ frontend/app/components/Client/Webhooks/WebhookForm.js | 1 + 3 files changed, 4 insertions(+) diff --git a/frontend/app/components/Client/CustomFields/CustomFieldForm.js b/frontend/app/components/Client/CustomFields/CustomFieldForm.js index 15d24be3d..1a8a582cd 100644 --- a/frontend/app/components/Client/CustomFields/CustomFieldForm.js +++ b/frontend/app/components/Client/CustomFields/CustomFieldForm.js @@ -37,6 +37,7 @@ class CustomFieldForm extends React.PureComponent { value={field.key} onChange={this.write} placeholder="Field Name" + maxLength={50} /> diff --git a/frontend/app/components/Client/ProfileSettings/Settings.js b/frontend/app/components/Client/ProfileSettings/Settings.js index 5329d98dc..e8343ebda 100644 --- a/frontend/app/components/Client/ProfileSettings/Settings.js +++ b/frontend/app/components/Client/ProfileSettings/Settings.js @@ -51,6 +51,7 @@ export default class Settings extends React.PureComponent { type="text" onChange={ this.onChange } value={ accountName } + maxLength={50} /> @@ -62,6 +63,7 @@ export default class Settings extends React.PureComponent { type="text" onChange={ this.onChange } value={ organizationName } + maxLength={50} /> diff --git a/frontend/app/components/Client/Webhooks/WebhookForm.js b/frontend/app/components/Client/Webhooks/WebhookForm.js index c918dcb93..62f009f1e 100644 --- a/frontend/app/components/Client/Webhooks/WebhookForm.js +++ b/frontend/app/components/Client/Webhooks/WebhookForm.js @@ -27,6 +27,7 @@ function WebhookForm(props) { value={webhook.name} onChange={write} placeholder="Name" + maxLength={50} />