Skip to content

Commit

Permalink
disable button when no items selected
Browse files Browse the repository at this point in the history
  • Loading branch information
SektorDV committed Aug 20, 2021
1 parent 40319dd commit 0ff4692
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ const OrderShippingMethodEditDialog: React.FC<OrderShippingMethodEditDialogProps
color="primary"
variant="contained"
type="submit"
disabled={!data.shippingMethod}
>
<FormattedMessage {...buttonMessages.confirm} />
</ConfirmButton>
Expand Down

0 comments on commit 0ff4692

Please sign in to comment.