79416659

Date: 2025-02-06 02:42:09
Score: 1
Natty:
Report link

I use this to validate and display general error messages, within that I display more specific errors:

Form.get('control_name')?.invalid && (
     Form.get('control_name')?.dirty || Form.get('control_name')?.touched
)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: David Abraham Mendoza Quiroz