Skip to content

Commit

Permalink
UIREC-420 Do not disable title submit button when form has errors
Browse files Browse the repository at this point in the history
  • Loading branch information
NikitaSedyx committed Nov 14, 2024
1 parent c4ed781 commit 1c4c9b4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/TitleForm/TitleForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ const validateClaimingInterval = (value, { claimingActive }) => {

const TitleForm = ({
handleSubmit,
hasValidationErrors,
form,
onCancel,
pristine,
Expand Down Expand Up @@ -391,7 +390,6 @@ const TitleForm = ({
TitleForm.propTypes = {
contributorNameTypes: PropTypes.arrayOf(PropTypes.object),
handleSubmit: PropTypes.func.isRequired,
hasValidationErrors: PropTypes.bool.isRequired,
identifierTypes: PropTypes.arrayOf(PropTypes.object),
form: PropTypes.object, // form object to get initialValues
onCancel: PropTypes.func.isRequired,
Expand Down

0 comments on commit 1c4c9b4

Please sign in to comment.