mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-28 20:53:24 +10:00
Add max length to the listing title
This commit is contained in:
parent
15dad39e53
commit
8c31bc2f77
2 changed files with 2 additions and 0 deletions
|
|
@ -70,6 +70,7 @@ const EditListingDescriptionFormComponent = props => {
|
|||
id={`${form}.title`}
|
||||
label={titleMessage}
|
||||
placeholder={titlePlaceholderMessage}
|
||||
maxLength={TITLE_MAX_LENGTH}
|
||||
validate={[required(titleRequiredMessage), maxLength60Message]}
|
||||
autoFocus
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ exports[`EditListingDescriptionForm matches snapshot 1`] = `
|
|||
autoFocus={true}
|
||||
className=""
|
||||
id="fakeTestForm.title"
|
||||
maxLength={60}
|
||||
name="title"
|
||||
onBlur={[Function]}
|
||||
onChange={[Function]}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue