You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow `CommandPalette.Input` to accept standard HTML input attributes (`autoComplete`, `autoCorrect`, `autoCapitalize`, `spellCheck`, `data-*`, etc.) by extending its props type with `InputHTMLAttributes<HTMLInputElement>`. Export new `CommandPaletteInputProps` type.
Copy file name to clipboardExpand all lines: packages/kumo-docs-astro/src/pages/components/command-palette.mdx
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,7 @@ import {
13
13
CommandPaletteBasicDemo,
14
14
CommandPaletteSimpleDemo,
15
15
CommandPaletteLoadingDemo,
16
+
CommandPaletteNoAutocompleteDemo,
16
17
CommandPaletteResultItemDemo,
17
18
} from"~/components/demos/CommandPaletteDemo";
18
19
@@ -153,6 +154,13 @@ export default function Example() {
153
154
<CommandPaletteLoadingDemoclient:visible />
154
155
</ComponentExample>
155
156
157
+
### Disabling Browser Autocomplete
158
+
159
+
<p>Pass standard HTML input attributes like `autoComplete`, `autoCorrect`, `spellCheck`, and `data-*` to suppress browser and password manager autocomplete overlays.</p>
0 commit comments