File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 12
12
app .component (' date-picker' , {
13
13
template: `
14
14
<div class="date-picker">
15
- <input type="datetime" />
15
+ <input type="datetime-local " />
16
16
</div>
17
17
`
18
18
})
@@ -26,7 +26,7 @@ app.component('date-picker', {
26
26
27
27
<!-- 実際には以下のような形で描画されます -->
28
28
<div class =" date-picker" data-status =" activated" >
29
- <input type =" datetime" />
29
+ <input type =" datetime-local " />
30
30
</div >
31
31
```
32
32
@@ -91,7 +91,7 @@ app.component('date-picker', {
91
91
inheritAttrs: false,
92
92
template: `
93
93
<div class="date-picker">
94
- <input type="datetime" v-bind="$attrs" />
94
+ <input type="datetime-local " v-bind="$attrs" />
95
95
</div>
96
96
`
97
97
})
@@ -105,7 +105,7 @@ app.component('date-picker', {
105
105
106
106
<!-- Rendered date-picker component -->
107
107
<div class =" date-picker" >
108
- <input type =" datetime" data-status =" activated" />
108
+ <input type =" datetime-local " data-status =" activated" />
109
109
</div >
110
110
```
111
111
You can’t perform that action at this time.
0 commit comments