Skip to content

Commit

Permalink
Fix [UI] Clear filter action doesn't trigger request 1.7.x (#2839)
Browse files Browse the repository at this point in the history
  • Loading branch information
Taras-Hlukhovetskyi authored Oct 21, 2024
1 parent da1581e commit 3a01002
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/FilterMenuModal/FilterMenuModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ const FilterMenuModal = ({
)}
{applyButton && !withoutApplyButton && (
<Button
disabled={isEqual(filtersData?.values, formState.values)}
disabled={isEqual(filtersData?.values, formState.values) || formState?.invalid}
id="filter-apply-btn"
variant={applyButton.variant}
label={applyButton.label}
Expand Down

0 comments on commit 3a01002

Please sign in to comment.