Last active
October 11, 2022 01:00
-
-
Save sanchesfranklin/a54d4c3bb33ce5b4e6d29989418e559f to your computer and use it in GitHub Desktop.
funcao_retirarNulls_formReativo_Angular
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
retiraCamposNullForm(){ | |
Object.keys(this.formIntegracao.controls).forEach(el =>{ | |
if (this.formIntegracao.controls[el].value === null){ | |
this.formIntegracao.controls[el].disable(); | |
} | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment