needed to replace the label with a label and input
This commit is contained in:
parent
1c4e4e9030
commit
9659b5122b
|
@ -153,7 +153,7 @@ include ../../../../_includes/_util-fns
|
||||||
|
|
||||||
We want to be able to edit the hero name in a textbox.
|
We want to be able to edit the hero name in a textbox.
|
||||||
|
|
||||||
Replace the hero name `<label>` with an `<input>` element as shown below:
|
Refactor the hero name `<label>` with `<label>` and `<input>` elements as shown below:
|
||||||
code-example(format="linenums").
|
code-example(format="linenums").
|
||||||
template:`
|
template:`
|
||||||
<h1>{{title}}</h1>
|
<h1>{{title}}</h1>
|
||||||
|
|
Loading…
Reference in New Issue