How to use items of various components in only one at angular4

Asked

Viewed 33 times

0

I have a template that forms a registration form, it is separated into three "User, Note, Address" Components the three are being rendered, but I cannot access their content when submitting the form. I need the fields of the fomularios to be all sent when submitting the form but I do not know exactly how to do it.

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 between the Components, could use the @Input and @Output.

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

https://www.youtube.com/watch?v=I317BhehZKM

Browser other questions tagged

You are not signed in. Login or sign up in order to post.