Skip to content

Commit

Permalink
IBX-4913: Blank space cannot be added to product collection search (#690
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Gengar-i authored Feb 3, 2023
1 parent b2dcb50 commit 60d8ed9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bundle/Resources/public/js/scripts/admin.input.text.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
recalculateStyling();
};
const handleInputChange = ({ target: { value } }, btn) => {
btn.disabled = value === '';
btn.disabled = value.trim() === '';
};
const recalculateStyling = () => {
const extraBtns = doc.querySelectorAll('.ibexa-input-text-wrapper__action-btn--extra-btn');
Expand Down

0 comments on commit 60d8ed9

Please sign in to comment.