Skip to content

Commit 713d197

Browse files
authored
fix: always treat autocorrect as attribute
Fix vuejs#5705
1 parent 4b1931c commit 713d197

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/runtime-dom/src/patchProp.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ function shouldSetAsProp(
102102
// them as attributes.
103103
// Note that `contentEditable` doesn't have this problem: its DOM
104104
// property is also enumerated string values.
105-
if (key === 'spellcheck' || key === 'draggable' || key === 'translate') {
105+
if (key === 'spellcheck' || key === 'draggable' || key === 'translate' || key === 'autocorrect') {
106106
return false
107107
}
108108

0 commit comments

Comments
 (0)