Skip to content

Commit d22bea7

Browse files
fix(docsearch): use "false" value for spellCheck in vanilla version
1 parent ec9733b commit d22bea7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/autocomplete-core/src/propGetters.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ export function getPropGetters<TItem, TEvent, TMouseEvent, TKeyboardEvent>({
185185
autoComplete: 'off',
186186
autoCorrect: 'off',
187187
autoCapitalize: 'off',
188-
spellCheck: false,
188+
spellCheck: 'false',
189189
autoFocus: props.autoFocus,
190190
placeholder: props.placeholder,
191191
maxLength,

packages/autocomplete-core/src/types/getters.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export type GetInputProps<TEvent, TMouseEvent, TKeyboardEvent> = (props: {
7575
autoComplete: 'on' | 'off';
7676
autoCorrect: 'on' | 'off';
7777
autoCapitalize: 'on' | 'off';
78-
spellCheck: boolean;
78+
spellCheck: 'false';
7979
maxLength: number;
8080
type: 'search';
8181
'aria-autocomplete': 'none' | 'inline' | 'list' | 'both';

packages/website/docs/prop-getters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ type GetInputProps = (props: {
7575
autoComplete: 'on' | 'off';
7676
autoCorrect: 'on' | 'off';
7777
autoCapitalize: 'on' | 'off';
78-
spellCheck: boolean;
78+
spellCheck: 'false';
7979
'aria-autocomplete': 'none' | 'inline' | 'list' | 'both';
8080
'aria-activedescendant': string | null;
8181
'aria-controls': string | null;

0 commit comments

Comments
 (0)