I want to be able to set my initial value for an attribute of my model as such
<input type="text" ng-model="selectedModel.title" name="title" value="" >
As shown above, I want the value of the attribute to be an empty string as to initially instantiate the input text field with an empty string.
However, currently the ng-model="selectedModel.title"
overrides the value=""
.
How do I get past this?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With