Skip to content

Commit a655797

Browse files
authored
IBX-9358: Fixed discard button in number input (#1425)
1 parent 5393525 commit a655797

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bundle/Resources/public/js/scripts/admin.input.text.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
const recalculateInputStyling = (inputActionsContainer) => {
4545
const input = inputActionsContainer.closest('.ibexa-input-text-wrapper').querySelector('input');
4646

47-
if (!input) {
47+
if (!input || input.type === 'number') {
4848
return;
4949
}
5050

0 commit comments

Comments
 (0)