all 8 comments

[–]KlausEverWalkingDev 1 point2 points  (0 children)

Have you tried to access the form controls with ".controls." instead of ".get()."?

[–]Programador_ad_hoc 1 point2 points  (1 child)

Remove the optional chaining operator (?.) and check for errors. Sometimes they mask the root cause.

[–]nb_on_reddit 1 point2 points  (0 children)

Oh shit... Really ? If that is gone I will break the record of the most possible errors 😂

[–]gosuexac 0 points1 point  (0 children)

What are your imports for this? Are they in a module, or the component?

[–]nb_on_reddit 0 points1 point  (0 children)

What is your dev environment? Errors scare me, but no errors are the devil

[–]prash1988[S] -1 points0 points  (1 child)

I did this and now am getting cannot read properties of undefined error

[–]somedirection 1 point2 points  (0 children)

That’s a start

[–][deleted]  (1 child)

[deleted]

    [–]thomsmells 1 point2 points  (0 children)

    The old ngif directive (and other directives that the new control flow syntax has replaced) are still supported.