If you want to apply conditional validation on 'Second Country' or 'Third Country', then you need to add 'Continent' input as 'Asia'
{{countryFormGroup.controls.continent.errors.latLong.message}}
If you want to apply conditional validation on 'Second Country' then you need to add 'Continent' input as 'Asia'.
Conditional Expression with type 'function'
{{countryFormGroup.controls.secondCountry.errors.latLong.message}}
If you want to apply conditional validation on 'Third Country' then you need to add 'Continent' input as 'Asia'.
Conditional Expression with type 'string'
{{countryFormGroup.controls.thirdCountry.errors.latLong.message}}
enter latitude or longitude only
Shows custom message.
{{countryFormGroup.controls.firstCountry.errors.latLong.message}}