OMG so many Buefy things...and much to be done yet it seems
these changes are all with Buefy "forms" support in mind. hopefully didn't break any legacy/jquery stuff... and yeah, lots more left to do still for the sake of Buefy forms
This commit is contained in:
parent
eea3f671af
commit
6c3722737d
13 changed files with 192 additions and 73 deletions
|
@ -11,7 +11,6 @@ const TailboneDatepicker = {
|
|||
'icon="calendar-alt"',
|
||||
':date-formatter="formatDate"',
|
||||
':date-parser="parseDate"',
|
||||
':value="value ? parseDate(value) : null"',
|
||||
'@input="dateChanged"',
|
||||
'>',
|
||||
'</b-datepicker>'
|
||||
|
@ -20,7 +19,6 @@ const TailboneDatepicker = {
|
|||
props: {
|
||||
name: String,
|
||||
id: String,
|
||||
value: String
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
@ -43,8 +41,7 @@ const TailboneDatepicker = {
|
|||
},
|
||||
|
||||
dateChanged(date) {
|
||||
this.value = this.formatDate(date)
|
||||
this.$emit('input', this.value)
|
||||
this.$emit('input', this.formatDate(date))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue