Skip to content

Commit

Permalink
fix(ltLocationInput): save button stays disabled
Browse files Browse the repository at this point in the history
See #70.
  • Loading branch information
simon04 committed Feb 11, 2024
1 parent 993f7ef commit 6d951bb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/components/ltLocationInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ function updateLatLng(viewValue: string) {
const newValue = new LatLng(
type.value!,
m ? parseFloat(m.groups!.lat) : undefined,
m ? parseFloat(m.groups!.lng) : undefined
m ? parseFloat(m.groups!.lng) : undefined,
props.modelValue.lat,
props.modelValue.lng
);
emit('update:modelValue', newValue);
}
Expand Down

0 comments on commit 6d951bb

Please sign in to comment.