fix: Fix BC material web pre14

This commit is contained in:
Maicol Battistini 2023-08-04 17:50:34 +02:00
parent 53227e8575
commit 16184aff3c
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
import '@material/web/dialog/dialog.js';
import {Dialog as MDDialog} from '@material/web/dialog/lib/dialog';
import {Dialog as MDDialog} from '@material/web/dialog/internal/dialog';
import {
Children,
Vnode,

View File

@ -30,7 +30,7 @@ export default class FilledDateTextField<A extends FilledDateTextFieldAttributes
openDatePicker(event: MouseEvent & {redraw?: boolean}) {
event.redraw = false;
// @ts-expect-error - Input is private
(this.element.input as HTMLInputElement).showPicker();
// @ts-expect-error - getInput() is private
(this.element.getInput() as HTMLInputElement).showPicker();
}
}