Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49332

V-model doesn't work in ion-textarea

$
0
0

I have two inputs generated dinamically:

this one:

<ion-textarea v-model="form.information[n]" :name="form.information[n]" value="" cols="20" rows="13"></ion-textarea>

and this one:

<ion-input type="text" v-model="form.description[n]" :value="form.description[n]" max="50" min="2"></ion-input>

The ion-textarea doesn’t work, but the ion-input does.

I have both information[] and description[] set in data method.

Why textarea doesn’t work? It returns me an empty value. I tried using the attributes name, value

2 posts - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 49332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>