Skip to content
Permalink
Browse files

fix(ui): constrain wallet name to 30 chars max

Address #1529
  • Loading branch information...
bolatovumar authored and mrfelton committed Mar 13, 2019
1 parent 08fdaea commit 52472f00877f35e66b0918260b8848bec9b5852d
@@ -72,6 +72,7 @@ class WalletSettingsFormLocal extends React.Component {
field="name"
id="name"
justifyContent="right"
maxLength={30}
ml="auto"
placeholder={intl.formatMessage({
...messages.wallet_settings_name_placeholder,
@@ -134,6 +134,7 @@ const WalletSettingsFormRemote = ({
field="name"
id="name"
justifyContent="right"
maxLength={30}
ml="auto"
placeholder={intl.formatMessage({
...messages.wallet_settings_name_placeholder,
@@ -67,6 +67,7 @@ class Name extends React.Component {
field="name"
initialValue={name}
label={<FormattedMessage {...messages.wallet_name_label} />}
maxLength={30}
name="name"
validateOnBlur={shouldValidateInline}
validateOnChange={shouldValidateInline}

0 comments on commit 52472f0

Please sign in to comment.
You can’t perform that action at this time.