mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 16:16:41 +08:00
refactor(tabs): apply design-doc (#16048)
This commit is contained in:
@ -25,7 +25,7 @@ export function renderHiddenInput(container: HTMLElement, name: string, value: s
|
||||
if (hasShadowDom(container)) {
|
||||
let input = container.querySelector('input.aux-input') as HTMLInputElement | null;
|
||||
if (!input) {
|
||||
input = container.ownerDocument.createElement('input');
|
||||
input = container.ownerDocument!.createElement('input');
|
||||
input.type = 'hidden';
|
||||
input.classList.add('aux-input');
|
||||
container.appendChild(input);
|
||||
|
||||
Reference in New Issue
Block a user