Skip to content

Commit

Permalink
some operations do not work on datepicker
Browse files Browse the repository at this point in the history
  • Loading branch information
albfan committed Jun 2, 2022
1 parent e2d4b45 commit 85a4928
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/inputs/date/datefield.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ Automatically shown in inline mode.
//update value of datepicker
this.$input.keyup($.proxy(function(){
this.$tpl.removeData('date');
this.$tpl.bdatepicker('update');
this.$tpl.bdatepicker(this.options.datepicker);
}, this));

},

value2input: function(value) {
this.$input.val(value ? this.dpg.formatDate(value, this.parsedViewFormat, this.options.datepicker.language) : '');
this.$tpl.bdatepicker('update');
this.$tpl.bdatepicker(this.options.datepicker);
},

input2value: function() {
Expand Down

0 comments on commit 85a4928

Please sign in to comment.