Skip to content

Commit 958520c

Browse files
author
Aman Patel
committed
Fixed datepicker docs Closes yuche#89
1 parent 431dcd3 commit 958520c

File tree

2 files changed

+25
-25
lines changed

2 files changed

+25
-25
lines changed

docs/example/datepickerDocs.vue

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,22 @@ Selected date is: {{new Date(value).toString().slice(0, -23)}}
1212
<h4>Disabled days of week</h4>
1313

1414
<v-select multiple :value.sync="disabled">
15-
<v-option value="0"></v-option>
16-
<v-option value="1"></v-option>
17-
<v-option value="2"></v-option>
18-
<v-option value="3"></v-option>
19-
<v-option value="4"></v-option>
20-
<v-option value="5"></v-option>
21-
<v-option value="6"></v-option>
15+
<v-option value="0">0</v-option>
16+
<v-option value="1">1</v-option>
17+
<v-option value="2">2</v-option>
18+
<v-option value="3">3</v-option>
19+
<v-option value="4">4</v-option>
20+
<v-option value="5">5</v-option>
21+
<v-option value="6">6</v-option>
2222
</v-select>
2323

2424
<h4>Format</h4>
2525
<v-select :value.sync="format" >
26-
<v-option value="yyyy,MM,dd"></v-option>
27-
<v-option value="yyyy-MM-dd"></v-option>
28-
<v-option value="yyyy.MM.dd"></v-option>
29-
<v-option value="MMM/dd/yyyy"></v-option>
30-
<v-option value="MMMM/dd/yyyy"></v-option>
26+
<v-option value="yyyy,MM,dd">yyyy,MM,dd</v-option>
27+
<v-option value="yyyy-MM-dd">yyyy-MM-dd</v-option>
28+
<v-option value="yyyy.MM.dd">yyyy.MM.dd</v-option>
29+
<v-option value="MMM/dd/yyyy">MMM/dd/yyyy</v-option>
30+
<v-option value="MMMM/dd/yyyy">MMMM/dd/yyyy</v-option>
3131
</v-select>
3232
</div>
3333
<pre><code class="language-markup"><script type="language-mark-up">
@@ -38,20 +38,20 @@ Selected date is: {{new Date(value).toString().slice(0, -23)}}
3838
</datepicker>
3939
4040
<select multiple :value.sync="disabled" size=5>
41-
<option value="0"></option>
42-
<option value="1"></option>
43-
<option value="2"></option>
44-
<option value="3"></option>
45-
<option value="4"></option>
46-
<option value="5"></option>
47-
<option value="6"></option>
41+
<v-option value="0">0</v-option>
42+
<v-option value="1">1</v-option>
43+
<v-option value="2">2</v-option>
44+
<v-option value="3">3</v-option>
45+
<v-option value="4">4</v-option>
46+
<v-option value="5">5</v-option>
47+
<v-option value="6">6</v-option>
4848
</select>
4949
<select :value.sync="format">
50-
<option value="yyyy,MM,dd"></option>
51-
<option value="yyyy-MM-dd"></option>
52-
<option value="yyyy.MM.dd"></option>
53-
<option value="MMM/dd/yyyy"></option>
54-
<option value="MMMM/dd/yyyy"></option>
50+
<v-option value="yyyy,MM,dd">yyyy,MM,dd</v-option>
51+
<v-option value="yyyy-MM-dd">yyyy-MM-dd</v-option>
52+
<v-option value="yyyy.MM.dd">yyyy.MM.dd</v-option>
53+
<v-option value="MMM/dd/yyyy">MMM/dd/yyyy</v-option>
54+
<v-option value="MMMM/dd/yyyy">MMMM/dd/yyyy</v-option>
5555
</select>
5656
</script></code></pre>
5757
<h2>Option</h2>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"babel-loader": "^6.1.0",
3434
"babel-plugin-transform-runtime": "^6.1.18",
3535
"babel-preset-es2015": "^6.1.18",
36-
"babel-runtime": "^6.1.18",
36+
"babel-runtime": "^6.3.19",
3737
"css-loader": "^0.21.0",
3838
"prismjs": "^1.3.0",
3939
"style-loader": "^0.13.0",

0 commit comments

Comments
 (0)