diff --git a/core/package.json b/core/package.json index 44f30e3291..97afa917cb 100644 --- a/core/package.json +++ b/core/package.json @@ -34,7 +34,7 @@ "tslib": "^1.10.0" }, "devDependencies": { - "@stencil/core": "1.12.4", + "@stencil/core": "1.13.0", "@stencil/sass": "1.3.1", "@types/jest": "24.9.1", "@types/node": "12.12.3", diff --git a/core/src/components/input/input.tsx b/core/src/components/input/input.tsx index e634d0f4cb..5575f1c586 100644 --- a/core/src/components/input/input.tsx +++ b/core/src/components/input/input.tsx @@ -393,7 +393,7 @@ export class Input implements ComponentInterface { placeholder={this.placeholder || ''} readOnly={this.readonly} required={this.required} - spellCheck={this.spellcheck} + spellcheck={this.spellcheck ? 'true' : undefined} step={this.step} size={this.size} tabindex={this.tabindex} diff --git a/core/src/components/searchbar/searchbar.tsx b/core/src/components/searchbar/searchbar.tsx index 8f3c304282..daedafacce 100644 --- a/core/src/components/searchbar/searchbar.tsx +++ b/core/src/components/searchbar/searchbar.tsx @@ -481,7 +481,7 @@ export class Searchbar implements ComponentInterface { value={this.getValue()} autoComplete={this.autocomplete} autoCorrect={this.autocorrect} - spellCheck={this.spellcheck} + spellcheck={this.spellcheck ? 'true' : undefined} /> {mode === 'md' && cancelButton} diff --git a/core/src/components/textarea/test/standalone/index.html b/core/src/components/textarea/test/standalone/index.html index 19af2090d7..bc633bdffe 100644 --- a/core/src/components/textarea/test/standalone/index.html +++ b/core/src/components/textarea/test/standalone/index.html @@ -15,6 +15,8 @@ + + diff --git a/core/src/components/textarea/textarea.tsx b/core/src/components/textarea/textarea.tsx index 44265f28a4..2c579bea11 100644 --- a/core/src/components/textarea/textarea.tsx +++ b/core/src/components/textarea/textarea.tsx @@ -345,7 +345,7 @@ export class Textarea implements ComponentInterface { placeholder={this.placeholder || ''} readOnly={this.readonly} required={this.required} - spellCheck={this.spellcheck} + spellcheck={this.spellcheck ? 'true' : undefined} cols={this.cols} rows={this.rows} wrap={this.wrap}