-
-
Notifications
You must be signed in to change notification settings - Fork 56
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
Fails to compile #65
Comments
@grosch which version do you use? could you post here the code snippet that fails? |
I'm using 1.5. I attached an example project, but here's the app.component.ts import {FormBuilder} from '@ngneat/reactive-forms'
interface Data {
title: string
chapters: string[]
}
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss']
})
export class AppComponent {
readonly formGroup = this.fb.group<Data>({
title: ['', Validators.required],
chapters: this.fb.array<string>([], Validators.min(3))
})
constructor(private readonly fb: FormBuilder) {
}
} |
@grosch please upgrade to the latest version and see if it works. |
Looks like 1.5.1 fixed it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm submitting a...
Current behavior
When I build my project I'm getting compiler errors from the controls in this package. For example, this is the first one that appears:
Minimal reproduction of the problem with instructions
example.zip
Environment
I saw the pinned issue, but while similar I think this is different as I'm just simply doing a build with your package included.
The text was updated successfully, but these errors were encountered: