diff --git a/packages/input-date/src/LionInputDate.js b/packages/input-date/src/LionInputDate.js index 2fe7a4738..a803538a5 100644 --- a/packages/input-date/src/LionInputDate.js +++ b/packages/input-date/src/LionInputDate.js @@ -34,6 +34,8 @@ export class LionInputDate extends LocalizeMixin(LionInput) { this.parser = value => (value === '' ? undefined : parseDate(value)); this.formatter = formatDate; this.defaultValidators.push(new IsDate()); + // Just explicitly make clear we shouldn't use type 'date' + this.type = 'text'; } /** @param {import('@lion/core').PropertyValues } changedProperties */ @@ -44,12 +46,6 @@ export class LionInputDate extends LocalizeMixin(LionInput) { } } - connectedCallback() { - // eslint-disable-next-line wc/guard-super-call - super.connectedCallback(); - this.type = 'text'; - } - /** * @param {Date} modelValue */