I need to create a lightning component : in this component there is some fields that the user will complete, and a button. I need to get the previously entered values when the button is clicked, and to display a line (of an array maybe ? Beacause it will have several lines possibly if the button is clicked more than once) with theses values displayed (like a recap of the entered values).
I don't know how to do that, if I need to create 2 components (one for the "form" part and one for the 'list" part) and how can I create dynamically a part of a component ? Or should I need to use event to create the "list" component ?
To reformulate, I think I need to create a list of lines, that will be set dynamically (line by line, when the button will be clicked)