Skip to content

Commit

Permalink
Review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
denniskigen authored Apr 27, 2023
1 parent 2cc7d8d commit ec1f010
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/inputs/text/ohri-text.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ const OHRIText: React.FC<OHRIFormFieldProps> = ({ question, onChange, handler })
invalidText={errors.length && errors[0].message}
warn={warnings.length > 0}
warnText={warnings.length && warnings[0].message}
onInvalid={e => e.preventDefault()}
maxLength={question.questionOptions.max || TextInput.maxLength}
/>
</div>
{previousValueForReview && (
Expand Down

0 comments on commit ec1f010

Please sign in to comment.