Answer the question
In order to leave comments, you need to log in
How to pass data from a component?
There is an input component
<div class="input-text" >
<p class="input-text__placeholder">{{placeholder}}</p>
<input class="input-text__input" type="text">
</div>
Answer the question
In order to leave comments, you need to log in
It can be simpler - through the Output decorator - but not for each field a separate Output, but for example, pass an object to it through an EventEmitter with a list of fields - and read the properties at the output
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question