mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 07:38:07 -05:00
truncate custom gender to 25 chars long
This commit is contained in:
parent
a47e1c9898
commit
825c613db8
1 changed files with 2 additions and 2 deletions
|
@ -150,8 +150,8 @@ class GenderStep extends React.Component {
|
|||
value={values.custom}
|
||||
/* eslint-disable react/jsx-no-bind */
|
||||
onSetCustom={newCustomVal => setValues({
|
||||
gender: newCustomVal,
|
||||
custom: newCustomVal
|
||||
gender: newCustomVal.substring(0, 25),
|
||||
custom: newCustomVal.substring(0, 25)
|
||||
})}
|
||||
onSetCustomRef={this.handleSetCustomRef}
|
||||
/* eslint-enable react/jsx-no-bind */
|
||||
|
|
Loading…
Reference in a new issue