If you want to apply conditional validation on 'Second Country Longitude' or 'Third Country Longitude', then you need to add 'Continent' input as 'Asia'.
{{countryFormGroup.controls.continent.errors.longitude.message}}
If you want to apply conditional validation on 'Second Country Longitude' then you need to add 'Continent' input as 'Asia'.
Conditional Expression with type 'function'
{{countryFormGroup.controls.secondCountryLongitude.errors.longitude.message}}
If you want to apply conditional validation on 'Third Country Longitude' then you need to add 'Continent' input as 'Asia'.
Conditional Expression with type 'string'
{{countryFormGroup.controls.thirdCountryLongitude.errors.longitude.message}}
You can enter only longitude
Shows custom message.
{{countryFormGroup.controls.firstCountryLongitude.errors.longitude.message}}