If you want to apply conditional validation on 'MAC Address' or 'Local MAC Address', then you need to add 'Device' input as 'Laptop'
{{macAddressInfoFormGroup.controls.device.errors.mac.message}}
If you want to apply conditional validation on 'Local MAC Address' then you need to add 'Device' input as 'Laptop'.
Conditional Expression with type 'string'
{{macAddressInfoFormGroup.controls.localMacAddress.errors.mac.message}}
enter MAC address only
Shows custom message.
{{macAddressInfoFormGroup.controls.systemMacAddress.errors.mac.message}}