I’m working on a form-entry application, and there’s a section where users are asked to enter 1-to-N “Samples” from their data. I plan to store this data in an array, but I’m not sure how to properly display it in the UI.
For our original web app, we simply used a table and appended a row onto the end of it. Experimenting with tables in Ionic went nowhere, so I’m left using a grid. Is there an easy way to say “When user clicks this button, append <ion-row>…</ion-row> code to a given <ion-grid> element”?
You know, I hate to say this and I realize I need to slow down, but I didn’t even realize that two-way binding meant adding a new object to my “samples” array would mean a new row appears there automatically. Just never occurred to me.