Skip to content

Commit

Permalink
Add placeholder to Select inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
nihaals committed Mar 28, 2021
1 parent 27eb96c commit c7683a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions thunderstore-components/src/components/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ export const Select = <T extends SelectOption = SelectOption>({
{/* Input */}
<Box {...getComboboxProps()}>
<Input
placeholder="Search..."
disabled={disabled}
{...getInputProps({
onClick: isOpen ? () => undefined : openMenu,
Expand Down Expand Up @@ -216,6 +217,7 @@ export const MultiSelect = <T extends SelectOption = SelectOption>({
{/* Input */}
<Box {...getComboboxProps()}>
<Input
placeholder="Search..."
disabled={disabled}
{...getInputProps(
getDropdownProps({
Expand Down

0 comments on commit c7683a7

Please sign in to comment.