Skip to content

Commit

Permalink
refactor(editors): load defaultDate into flatpickr on loadValue
Browse files Browse the repository at this point in the history
this will allow the excel cell copy to work when serializing this.$input.value()
  • Loading branch information
jmzagorski committed May 17, 2018
1 parent 016f070 commit 7bc8baf
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ export class DateEditor implements Editor {

loadValue(item: any) {
this.defaultDate = item[this.args.column.field];
this.flatInstance.setDate(item[this.args.column.field]);
}

serializeValue() {
Expand Down

0 comments on commit 7bc8baf

Please sign in to comment.