Skip to content

Commit

Permalink
fix(ValidatedPasswordInput): default to label from field schema (matc…
Browse files Browse the repository at this point in the history
…h ValidatedTextInput behavior) (#95)
  • Loading branch information
mturley authored Feb 14, 2022
1 parent a4e3672 commit 5efb371
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ interface IValidatedPasswordInputProps

export const ValidatedPasswordInput: React.FunctionComponent<IValidatedPasswordInputProps> = ({
field,
label,
label = field.schema.describe().label,
fieldId,
isRequired,
greenWhenValid = false,
Expand Down

0 comments on commit 5efb371

Please sign in to comment.