in my Form im using formBuilder and i want to return a custom message, what I have to do?
this.Form = this.formBuilder.group({
name: ['', [Validators.required]]
});
}
And, under the input returns
The field is required
But i want to return with the name of the input, something like
The field name is required
Please someone, help me.
I'm using Angularv14.