0
I have a form, and in one of the inputs I need to do a validation so that when there are only blanks nothing happens. Example below:
phone: [this.currentUser ? this.currentUser.user.phone : '', Validators.required],
cpf: [this.currentUser ? this.currentUser.user.cpf : '', Validators.required],
obs: [''] // Esse é o input a ser validado
Can someone give me a suggestion on how to do this?