Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ngOnInit() {
- this.productForm = this.formBuilder.group({
- 'nome_produto' : [null, Validators.required],
- 'desc_produto' : [null, [Validators.required, Validators.minLength(4)]],
- 'preco_produto' : [null, Validators.required]
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement