Developerjas
Developerjas

Reputation: 23

Angular validation is not working in bootstrap modal popup

I have form and and that form is opening is bootstrap modal popup but angular validations is not working in that modal popup.

enter image description here

Thank in advance

Upvotes: 0

Views: 1144

Answers (1)

Therichpost
Therichpost

Reputation: 1815

Here is the validation code snippet and for deeply info you can check the attached link:

this.registerForm = this.formBuilder.group({
    email: ['', [Validators.required, Validators.email]],
    password: ['', [Validators.required, Validators.minLength(6)]]
});

https://therichpost.com/angular-8-bootstrap-popup-login-form/

Thank you

Upvotes: 1

Related Questions