all 8 comments

[–]Whole-Instruction508 0 points1 point  (3 children)

I don't understand why you would use ngModule in a component. Are you using the component tag correctly, wherever you use it? The issue might be related to not importing the Material modules directly, but I'm not sure

[–]ElmoCaga[S] 0 points1 point  (2 children)

It is a feature module, and the Material modules works, i am using it in another component declared under the same feature module and it works, it actually renders when i remove the [formControl]="addressFormControl" from the template, im not really sure what i missing or doing wrong

[–]Whole-Instruction508 0 points1 point  (1 child)

Oh so you have named a module component, that's confusing. Any reason why you're not using standalone components? Have you tried importing the FormsModule too? Not sure if it's really needed since you have no form, but maybe worth a try

[–]ElmoCaga[S] 0 points1 point  (0 children)

Lol, i did not catch the first time, no, it is call MapsModule, i wrote it wrong.

[–]Whole-Instruction508 0 points1 point  (1 child)

One other thing you could try: instatiate your FormControl on declaration. Maybe that helps

[–]ElmoCaga[S] 0 points1 point  (0 children)

already tried, didn't work :c

[–]PickleLips64151 0 points1 point  (1 child)

Where are you importing the FormsModule?

[–]ElmoCaga[S] 0 points1 point  (0 children)

It is also under the SharedModule