Ionic 4 textarea to database.
Posted: Thu Sep 10, 2020 2:14 am
by dtan
I used an HTML component to create an ion-textarea input and it works fine. How can I get the value of that field into the database? All that shows in the mapping is the HTML component, and I can't get a local variable to get that value either. Thanks!
Re: Ionic 4 textarea to database.
Posted: Thu Sep 10, 2020 9:12 am
by brendanm@ite.co.za
Have you tried a (ionChange) attribute on the ion-textarea passing $event to the function? You should be able to get the text in the called function using event.target.value or similar
Re: Ionic 4 textarea to database.
Posted: Thu Sep 10, 2020 2:38 pm
by dtan
This worked! Thank you so much for your suggestion!