bugfix remove onBeforeUpdate and add to select Day

main v0.2.1
HerrHase 4 weeks ago
parent 92af34001e
commit eab5cd280e

@ -1,6 +1,6 @@
{
"name": "@tiny-components/datepicker",
"version": "0.2.0",
"version": "0.2.1",
"description": "Datepicker for Desktop and Mobile",
"repository": {
"type": "git",

@ -69,16 +69,6 @@ export default {
this.createWeeksAndDays()
},
/**
*
*
*/
onBeforeUpdate() {
store.trigger(this.state.namespace + 'change', {
date: this.state.date
})
},
/**
* create weeks and days
*
@ -138,6 +128,11 @@ export default {
}
this.state.date = day
store.trigger(this.state.namespace + 'change', {
date: this.state.date.clone()
})
this.update()
},

Loading…
Cancel
Save