I'm learning angular framework and I was wondering in this scenario which would be better to use. Child component gets 3 inputs ( name, date, age) but has no click event ( From what I gather you can still emit without such a event in said component) and needs to pass data to a parent component which will generate some sort of profile. The parent component does have a submit button which I assume I could use with the child component but unsure if that's a code smell. Would a shared service be more suitable?
I've had a look at some examples of child to parent data transmission using event emitters but most seem to have a button in the child component.