Skip to content

Commit

Permalink
docs(autocomplete): fix missing defaultItems property (heroui-inc#2185)
Browse files Browse the repository at this point in the history
  • Loading branch information
robinsmith-source authored Mar 3, 2024
1 parent acee3c2 commit cdc4981
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/docs/content/components/autocomplete/controlled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export default function App() {
<Autocomplete
label="Favorite Animal"
variant="bordered"
defaultItems={animals}
placeholder="Search an animal"
className="max-w-xs"
selectedKey={value}
Expand Down

0 comments on commit cdc4981

Please sign in to comment.