Doubt (and also a problem?)
lppedd opened this issue · comments
Edoardo Luppi commented
Hi!
How would you code a FormGroup against this interface?
export interface CronForm {
seconds: {
choice: string
every: number
startingFrom: number
specific: List<number>
everyBetweenFrom: number
everyBetweenTo: number
}
}
I've tried with
this.formBuilder.group<CronForm>({
seconds: this.formBuilder.group({
})
})
With no luck (compilation error).
Edoardo Luppi commented
Nevermind, I was doing something wrong!
I'll close this for now.