Im currently creating a recipe app, but i have a few problems which I need help on.
Firstly, I have a form whereby I want the user to be able to input all the ingredients shown in this screenshot -
However, when i tried to include the ingredient count in my recipe details page, the count wasn’t registered correctly, ie even though i’ve added three ingredients, the total count is only one.
Hence what i need help on is:
- Whether there is a way to create a form whereby users can click the + button to continue adding ingredients endlessly
- Why is my ingredient count not showing up correctly in my recipe details page?
Happy to provide more information if needed and really appreciate all the help!