Skip to content

Commit

Permalink
fix(Temporal) api change
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinMachado committed Sep 4, 2023
1 parent 6cd6cad commit 8d06743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/browser/src/Widget/Temporal/Temporal.js
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ export class DateSelector extends itownsWidget.Widget {

temporalWrapper.styleDate = selectDates.selectedOptions[0].value;
selectDates.onchange = () => {
temporalWrapper.update(selectDates.selectedOptions[0].value);
temporalWrapper.styleDate = selectDates.selectedOptions[0].value;
itownsView.notifyChange();
};
}
Expand Down

0 comments on commit 8d06743

Please sign in to comment.