-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Reactive form validation #18
Comments
Hi, I am looking into this one. Did you get this working? Just a question, can you use |
@zebzhao No i was not able to get this working. The parent form is always "valid" even though the query-builder is invalid. Also, changing the |
Funny, I was reading this issue on angular github: angular/angular#9230 and thanks to @kara, a new attribute was added, child.html:
child.component.ts:
Hope this helps anyone out there who faces similar issue |
Hello,
Thank you for such a wonderful query builder plugin. It truly helps a lot to our user interface.
I was just curious, if I have a parent component inside which i have a child component and this child component has the query builder, then how to propagate the reactive form validation to the parent?
Since, the use of (ngModel) request for a formControlName and formGroup, I was thinking if its even posiible. this is what i have so far:
Since i introduced a
div
tag betweenquery-builder
andng-template
, all my styles have broken.Also, the form fields are always valid.
Any help is greatly appreciated!
The text was updated successfully, but these errors were encountered: