File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
src/examples/src/form-bindings/App Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
< h2 > Text Input</ h2 >
2
- < input v-model ="text "> {{ text }}
2
+ < input v-model ="text ">
3
+ < p > {{ text }}</ p >
3
4
4
5
< h2 > Checkbox</ h2 >
5
6
< input type ="checkbox " id ="checkbox " v-model ="checked ">
@@ -16,16 +17,15 @@ <h2>Multi Checkbox</h2>
16
17
< label for ="john "> John</ label >
17
18
< input type ="checkbox " id ="mike " value ="Mike " v-model ="checkedNames ">
18
19
< label for ="mike "> Mike</ label >
19
- < p > Checked names: < pre > {{ checkedNames }}</ pre > </ p>
20
+ < p > Checked names: {{ checkedNames }}</ p >
20
21
21
22
< h2 > Radio</ h2 >
22
23
< input type ="radio " id ="one " value ="One " v-model ="picked ">
23
24
< label for ="one "> One</ label >
24
25
< br >
25
26
< input type ="radio " id ="two " value ="Two " v-model ="picked ">
26
27
< label for ="two "> Two</ label >
27
- < br >
28
- < span > Picked: {{ picked }}</ span >
28
+ < p > Picked: {{ picked }}</ p >
29
29
30
30
< h2 > Select</ h2 >
31
31
< select v-model ="selected ">
@@ -34,12 +34,12 @@ <h2>Select</h2>
34
34
< option > B</ option >
35
35
< option > C</ option >
36
36
</ select >
37
- < span > Selected: {{ selected }}</ span >
37
+ < p > Selected: {{ selected }}</ p >
38
38
39
39
< h2 > Multi Select</ h2 >
40
40
< select v-model ="multiSelected " multiple style ="width:100px ">
41
41
< option > A</ option >
42
42
< option > B</ option >
43
43
< option > C</ option >
44
44
</ select >
45
- < span > Selected: {{ multiSelected }}</ span >
45
+ < p > Selected: {{ multiSelected }}</ p >
You can’t perform that action at this time.
0 commit comments