#1501 getInputs - FIX digiBTW

This commit is contained in:
GrzegorzZajac000 2024-02-14 12:45:21 +01:00
parent f366a693fe
commit a36c2aa398
2 changed files with 7 additions and 3 deletions

View File

@ -68,7 +68,9 @@ const notObservedNodes = [
'track',
'u',
'var',
'video'
'video',
// custom
'tool-tip'
];
module.exports = notObservedNodes;

View File

@ -26,7 +26,9 @@ const inputsSelectors = () => {
':not(list)',
':not(-moz-read-only)',
':not(disabled)',
':not([disabled])'
':not([disabled])',
':not([role="button"])',
':not([role="submit"])'
].join('');
const textAreaSelectors = [
@ -40,7 +42,7 @@ const inputsSelectors = () => {
':not([disabled])'
].join('');
return `input[type="text"]${inputSelectors},input[type="number"]${inputSelectors},input[type="tel"]${inputSelectors},textarea${textAreaSelectors}`;
return `input[type="text"]${inputSelectors},input[type="number"]${inputSelectors},input[type="tel"]${inputSelectors},input:not([type])${inputSelectors},textarea${textAreaSelectors}`;
};
module.exports = inputsSelectors;