mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-03-15 02:30:25 +01:00
fix: Fix BC material web pre14
This commit is contained in:
parent
53227e8575
commit
16184aff3c
resources/ts/Components
@ -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,
|
||||
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user