Skip to content

Commit

Permalink
chore: driver item required
Browse files Browse the repository at this point in the history
  • Loading branch information
xhofe committed Jul 19, 2022
1 parent 1a926c9 commit fb6431f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/manage/storages/AddOrEdit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ const AddOrEdit = () => {
name="driver"
default=""
readonly={id !== undefined}
required
type={Type.Select}
values={id ? storage.driver : Object.keys(drivers()).join(",")}
value={storage.driver}
Expand Down
1 change: 1 addition & 0 deletions src/pages/manage/storages/Item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ const Item = (props: ItemProps) => {
w="$full"
display="flex"
flexDirection="column"
required={props.required}
// p="$1"
// shadow="$sm"
// rounded="$lg"
Expand Down

0 comments on commit fb6431f

Please sign in to comment.