Skip to content

Commit

Permalink
asd
Browse files Browse the repository at this point in the history
  • Loading branch information
0-don committed Feb 16, 2024
1 parent 78fc196 commit 43655ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions web/src/components/elements/MyAutocomplete.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export const MyAutocomplete: React.FC<MyAutocompleteProps> = ({
{...props}
name={props.label}
defaultItems={items}
onKeyDown={(e: any) => e.continuePropagation()}
// selectedKey={`${props.value}`}
aria-labelledby={props.label}
onSelectionChange={props.onSelectionChange} // key
Expand Down
1 change: 1 addition & 0 deletions web/src/components/pages/dashboard/table/DroppableItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export const DroppableItem: React.FC<DroppableItemProps> = ({
size="sm"
label={t("SELECT_MEAL")}
items={meals || []}
isClearable={false}
onSelectionChange={async (key) => {
console.log(key);
try {
Expand Down

0 comments on commit 43655ca

Please sign in to comment.