Skip to content

Commit

Permalink
Fix mask after locale change #1189
Browse files Browse the repository at this point in the history
  • Loading branch information
andriivarhanov committed Apr 19, 2023
1 parent 415897a commit edb53ea
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/components/ids-time-picker/ids-time-picker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -293,10 +293,6 @@ export default class IdsTimePicker extends Base {
if (!currentId) return;

this.setAttribute(currentId, e.detail.value);

if (this.autoupdate) {
this.#setTimeOnField();
}
});

this.offEvent('timeselected');
Expand Down Expand Up @@ -347,6 +343,7 @@ export default class IdsTimePicker extends Base {
this.input.format = this.format;
this.input.locale = this.locale;
}
this.#applyMask();
this.picker?.renderDropdowns();
};

Expand Down

0 comments on commit edb53ea

Please sign in to comment.