We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5c8e34 commit cceee9bCopy full SHA for cceee9b
lib/rules/autocomplete-matches.js
@@ -2,9 +2,9 @@ import { sanitize } from '../commons/text';
2
import standards from '../standards';
3
import { isVisible } from '../commons/dom';
4
5
-function autocompleteMatches(node, virtualNode) {
+function autocompleteMatches(node, virtualNod, flag=false) {
6
const autocomplete = virtualNode.attr('autocomplete');
7
- if (!autocomplete || sanitize(autocomplete) === '') {
+ if ((!autocomplete || sanitize(autocomplete) === '') && !flag) {
8
return false;
9
}
10
0 commit comments