I have similar forms with the following structure:
<form ng-submit="addReply(x)" class="dd animated slideInDown" >
<div class="form-group">
<text-angular ng-model="form.reply"></text-angular>
</div>
<div class="form-group">
<input type="submit" class="btn btn-default pull-right" value="Send" />
</div>
</form>
There is an issue with the text area due to ng-model="form.reply"
. When I make changes to one textarea, all others are automatically updated as well. How can I prevent this from happening?
For reference, check out this example: http://jsfiddle.net/oLv61qtr/
I only want to modify one at a time...