docs: add ending slash to input in TOH pt1 and pt2 examples (#29176)
PR Close #29176
This commit is contained in:
parent
a68b1a1894
commit
d4728c40d9
|
@ -11,7 +11,7 @@
|
||||||
<!-- #docregion name-input -->
|
<!-- #docregion name-input -->
|
||||||
<div>
|
<div>
|
||||||
<label>name:
|
<label>name:
|
||||||
<input [(ngModel)]="hero.name" placeholder="name">
|
<input [(ngModel)]="hero.name" placeholder="name"/>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<!-- #enddocregion name-input -->
|
<!-- #enddocregion name-input -->
|
||||||
|
|
|
@ -5,6 +5,6 @@
|
||||||
<div><span>id: </span>{{hero.id}}</div>
|
<div><span>id: </span>{{hero.id}}</div>
|
||||||
<div>
|
<div>
|
||||||
<label>name:
|
<label>name:
|
||||||
<input [(ngModel)]="hero.name" placeholder="name">
|
<input [(ngModel)]="hero.name" placeholder="name"/>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
<div><span>id: </span>{{selectedHero.id}}</div>
|
<div><span>id: </span>{{selectedHero.id}}</div>
|
||||||
<div>
|
<div>
|
||||||
<label>name:
|
<label>name:
|
||||||
<input [(ngModel)]="selectedHero.name" placeholder="name">
|
<input [(ngModel)]="selectedHero.name" placeholder="name"/>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<!-- #enddocregion selectedHero-details -->
|
<!-- #enddocregion selectedHero-details -->
|
||||||
|
|
Loading…
Reference in New Issue