restore 5000 character limit for description fields

Also make sure that validation error message is visible when 5000 character limit is exceeded.
This commit is contained in:
chrisgarrity 2019-01-07 11:09:44 -05:00
parent 976524b64d
commit 29fb4b69d1
2 changed files with 4 additions and 5 deletions

View file

@ -379,8 +379,7 @@ const PreviewPresentation = ({
})
}}
validations={{
// TODO: actual 5000
maxLength: 1000
maxLength: 5000
}}
value={projectInfo.instructions}
/>
@ -423,8 +422,7 @@ const PreviewPresentation = ({
})
}}
validations={{
// TODO: actual 5000
maxLength: 1000
maxLength: 5000
}}
value={projectInfo.description}
/>

View file

@ -470,7 +470,8 @@ $stage-width: 480px;
&.has-error {
.validation-message {
transform: translate(26rem, 0);
top: 100%;
right: 0;
}
}