Skip to content

Commit 160f3db

Browse files
authored
fix: uui-input-password sets spellcheck to false (#339)
* uui-input-password sets spellcheck to false * spellcheck can be changed with attribute
1 parent 17e74c5 commit 160f3db

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/uui-input-password/lib/uui-input-password.element.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ export class UUIInputPasswordElement extends UUIInputElement {
5252

5353
demandCustomElement(this, 'uui-icon');
5454
demandCustomElement(this, 'uui-button');
55+
56+
if (!this.hasAttribute('spellcheck')) {
57+
this.spellcheck = false;
58+
}
5559
}
5660

5761
renderIcon() {

0 commit comments

Comments
 (0)