Skip to content

Commit

Permalink
further unfreeze fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dylmye committed Apr 14, 2023
1 parent 15448d3 commit e35b80f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/components/AddTripItemCard/AddEditTripItemForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -212,13 +212,14 @@ const AddEditTripItemForm = ({
)}
{values.category === "travel" && (
<Grid item xs={12} md={6}>
<Field
<FastField
component={LocationField}
name="destinationLocation"
label={currentFieldSettings.destinationLocationLabel}
disabled={
(!values.originLocation && !values.destinationLocation) ||
isSubmitting
autocompletionRequest={
values.type === TripItemType.Plane && {
types: ["airport"],
}
}
inputProps={
errors && {
Expand Down

0 comments on commit e35b80f

Please sign in to comment.