Skip to content

Commit

Permalink
enforece max length on displayName inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
adlius committed Dec 27, 2024
1 parent e50c292 commit 33ed9b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
id={{displayNameId}}
placeholder={{t 'addons.accountCreate.display-name-placeholder'}}
@value={{this.displayName}}
@maxlength={{256}}
/>
{{/let}}
<div local-class='button-wrapper'>
Expand Down Expand Up @@ -139,6 +140,7 @@
local-class='input'
placeholder={{t 'addons.accountCreate.display-name-placeholder'}}
@value={{this.displayName}}
@maxlength={{256}}
/>
{{/let}}
{{#if this.connectAccountError}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
data-test-display-name-input
@type='text'
@value={{this.displayName}}
@maxlength={{256}}
/>
</label>
{{#if this.invalidDisplayName}}
Expand Down

0 comments on commit 33ed9b1

Please sign in to comment.