Skip to content

Commit

Permalink
FWF-3757: [Feature] invalid prop added
Browse files Browse the repository at this point in the history
  • Loading branch information
Bonymol-aot committed Oct 25, 2024
1 parent 61066dd commit 596ba85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion forms-flow-web/src/components/Form/EditForm/FormSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,10 @@ const FormSettings = forwardRef((props, ref) => {
dataTestid="form-name"
name="title"
ariaLabel={t("Form Name")}
isInvalid = {!!errors.name}
feedback = {errors.name}
onBlur={() => validateField('name', formDetails.title)}
/>
{errors.name && <div className="validation-text">{errors.name}</div>}
<FormTextArea
label={t("Description")}
name="description"
Expand Down

0 comments on commit 596ba85

Please sign in to comment.