Skip to content

Commit

Permalink
fix(BaseInput): remove unused status prop (#3418)
Browse files Browse the repository at this point in the history
  • Loading branch information
MEsteves22 committed Jun 7, 2023
1 parent 8872fc4 commit 8b73ea0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion packages/core/src/components/BaseInput/BaseInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ export const HvBaseInput = ({
disabled,
readOnly,
required,
status,
formElementContext
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,14 @@ const buildFormElementPropsFromContext = (
disabled,
readOnly,
required,
status,
context
) => {
return {
name: name || context?.elementName,
disabled: disabled !== undefined ? disabled : context?.elementDisabled,
readOnly: readOnly !== undefined ? readOnly : context?.elementReadOnly,
required: required !== undefined ? required : context?.elementRequired,
status: status || context?.elementStatus,
status: context?.elementStatus,
};
};

Expand Down

0 comments on commit 8b73ea0

Please sign in to comment.