diff --git a/strr-host-pm-web/app/components/form/DefineYourRental/UnitAddress.vue b/strr-host-pm-web/app/components/form/DefineYourRental/UnitAddress.vue index 2049400e9..0ee8ba33f 100644 --- a/strr-host-pm-web/app/components/form/DefineYourRental/UnitAddress.vue +++ b/strr-host-pm-web/app/components/form/DefineYourRental/UnitAddress.vue @@ -10,7 +10,6 @@ const props = defineProps<{ isComplete: boolean }>() const unitAddressFormRef = ref>() const unitPidFormRef = ref>() -const { isNewRentalUnitSetupEnabled } = useHostFeatureFlags() // clear form errors and submit when new address selected form autocomplete function handleNewAddress () { @@ -54,6 +53,7 @@ onMounted(async () => { // validate form if step marked as complete if (props.isComplete) { await validateForm(unitAddressFormRef.value, props.isComplete) + await validateForm(unitPidFormRef.value, props.isComplete) } // trigger address requirements check when Registration Renewal is loaded @@ -268,7 +268,7 @@ onMounted(async () => { { class="[&_.max-w-bcGovInput]:max-w-full" mask="###-###-###" name="parcelIdentifier" - :aria-label="(!propStore.unitDetails.ownershipType || propStore.isOwnerOrCoOwner) - ? $t('strr.label.parcelIdentifier') - : $t('strr.label.parcelIdentifierOpt')" - :placeholder="(!propStore.unitDetails.ownershipType || propStore.isOwnerOrCoOwner) - ? $t('strr.label.parcelIdentifier') - : $t('strr.label.parcelIdentifierOpt')" + :aria-label="$t('strr.label.parcelIdentifier')" + :placeholder="$t('strr.label.parcelIdentifier')" >