2
0
mirror of https://github.com/tenrok/vue2-datepicker.git synced 2026-06-10 08:02:27 +03:00

added input name attribute to v-bind

This commit is contained in:
akshay
2018-04-26 14:30:33 +05:30
parent 1a10440d7c
commit 8a7226aea4
+5 -1
View File
@@ -3,7 +3,7 @@
:class="{'disabled': disabled}"
:style="{'width': computedWidth,'min-width':range ? (type === 'datetime' ? '320px' : '210px') : '140px'}"
v-clickoutside="closePopup">
<input name="date"
<input :name="inputName"
:disabled="disabled"
:class="inputClass"
:value="text"
@@ -151,6 +151,10 @@ export default {
rangeSeparator: {
type: String,
default: '~'
},
inputName:{
type: String,
default: 'date'
}
},
data () {