How to use multi-component items in only one angle4 [closed]

0

I have a template that forms a registration form, it is separated into three components "User, Note, Address" the three are being rendered, but I can not access their content when submitting the form. I need the form fields to be all submitted by submitting the form but I'm not exactly sure how to do it.

    
asked by anonymous 22.01.2018 / 13:02

1 answer

-1

If these values are saved in the database, it would be interesting to use a Service to receive these values in the form component.

If it's between components, you could use @Input and @Output .

Take a look at this video, maybe it will help you.

link

    
22.01.2018 / 13:16