Skip to content

Commit a5d0c14

Browse files
committed
docs: add documentation for spellcheck
1 parent 03487b0 commit a5d0c14

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ export type InputType =
2525
* @element uui-input
2626
* @slot prepend - for components to render to the left of the input.
2727
* @slot append - for components to render to the right of the input.
28+
* @property {boolean} spellcheck - get/set native spellcheck attribute
29+
* @attribute spellcheck - native spellcheck attribute
2830
* @fires UUIInputEvent#change on change
2931
* @fires InputEvent#input on input
3032
* @fires KeyboardEvent#keyup on keyup
@@ -409,12 +411,12 @@ export class UUIInputElement extends FormControlMixin(
409411
min=${ifDefined(this.min)}
410412
max=${ifDefined(this.max)}
411413
step=${ifDefined(this.step)}
412-
spellcheck=${ifDefined(this.spellcheck)}
414+
spellcheck=${this.spellcheck}
413415
autocomplete=${ifDefined(this.autocomplete as any)}
414416
placeholder=${ifDefined(this.placeholder)}
415417
aria-label=${ifDefined(this.label)}
416418
inputmode=${ifDefined(this.inputMode)}
417-
.disabled=${this.disabled}
419+
?disabled=${this.disabled}
418420
?autofocus=${this.autofocus}
419421
?required=${this.required}
420422
?readonly=${this.readonly}

0 commit comments

Comments
 (0)