Skip to content

Commit

Permalink
fix: update error status on Address step text fields
Browse files Browse the repository at this point in the history
So to be able to properly make it valid later when it gets resolved.
  • Loading branch information
fterra-encora committed Oct 4, 2023
1 parent b19d71f commit 42c8e9e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/components/grouping/AddressGroupComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ onMounted(() => {
]"
:error-message="nameError"
@empty="validation.locationName = !$event"
@error="validation.locationName = !$event"
v-if="id !== 0"
/>

Expand Down Expand Up @@ -312,6 +313,7 @@ onMounted(() => {
submissionValidation(`location.addresses[${id}].city`)
]"
@empty="validation.city = !$event"
@error="validation.city = !$event"
/>

<data-fetcher
Expand Down

0 comments on commit 42c8e9e

Please sign in to comment.