Using AngularJS if I set a simple input text box value to something like "bob" below. The value does not display if the ng-model
attribute is added.
<input type="text"
id="rootFolder"
ng-model="rootFolders"
disabled="disabled"
value="Bob"
size="40"/>
Anyone know of a simple work around to default this input to something and keep the ng-model
? I tried to use a ng-bind
with the default value but that seems not to work either.
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…