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:
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user