diff --git a/packages/runtime-dom/src/patchProp.ts b/packages/runtime-dom/src/patchProp.ts index b6af89971..27174ddf6 100644 --- a/packages/runtime-dom/src/patchProp.ts +++ b/packages/runtime-dom/src/patchProp.ts @@ -102,7 +102,12 @@ function shouldSetAsProp( // them as attributes. // Note that `contentEditable` doesn't have this problem: its DOM // property is also enumerated string values. - if (key === 'spellcheck' || key === 'draggable' || key === 'translate') { + if ( + key === 'spellcheck' || + key === 'draggable' || + key === 'translate' || + key === 'autocorrect' + ) { return false }