diff --git a/ui-ngx/src/app/shared/components/contact.component.html b/ui-ngx/src/app/shared/components/contact.component.html index 0f4038abe9..ce9a57ce59 100644 --- a/ui-ngx/src/app/shared/components/contact.component.html +++ b/ui-ngx/src/app/shared/components/contact.component.html @@ -20,27 +20,30 @@ formControlName="country" (selectCountryCode)="changeCountry($event)"> -
- +
+ contact.city {{ 'contact.city-max-length' | translate }} + - + contact.state {{ 'contact.state-max-length' | translate }} + - + contact.postal-code {{ 'contact.postal-code-invalid' | translate }} +
diff --git a/ui-ngx/src/app/shared/components/country-autocomplete.component.ts b/ui-ngx/src/app/shared/components/country-autocomplete.component.ts index 7fc3a10bca..95629496eb 100644 --- a/ui-ngx/src/app/shared/components/country-autocomplete.component.ts +++ b/ui-ngx/src/app/shared/components/country-autocomplete.component.ts @@ -200,7 +200,7 @@ export class CountryAutocompleteComponent implements OnInit, ControlValueAccesso private updateView(value: Country | null) { if (this.modelValue?.name !== value?.name) { this.modelValue = value; - this.propagateChange(this.modelValue); + this.propagateChange(this.modelValue?.name); if (value) { this.selectCountryCode.emit(value.iso2); }