Reputation: 317
I don’t know if this is a bug. After I googled I found someone who also has this issue.
Below is the code:
<div class="list list-inset">
<label class="item item-input">
<input type="text" placeholder="Id" ng-model="Id"/>
</label>
<label class="item item-input">
<input type="text" placeholder="Title" ng-model="title"/>
</label>
<label class="item item-input">
<textarea placeholder="Description" rows="15" ng-model="description"/>
</label>
<button class="button button-clear">Submit</button>
</div>
Upvotes: 1
Views: 693
Reputation: 19475
<textarea placeholder="Description" rows="15" ng-model="description" />
This textarea appears to be self-closing. This however cannot be the case because <textarea>
s require an end tag </textarea>
, otherwise everything after the opening tag will be interpreted as the contents of the textarea and not be parsed as HTML.
So the correct way of writing it is:
<textarea placeholder="Description" rows="15" ng-model="description"></textarea>
Upvotes: 3