From ab12b6b9d0d2d9b98bf9d004af0a0e08c393fc10 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Thu, 19 Sep 2024 15:26:58 +0300 Subject: [PATCH] Update DocPTViewer.vue --- apps/showcase/components/doc/DocPTViewer.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/showcase/components/doc/DocPTViewer.vue b/apps/showcase/components/doc/DocPTViewer.vue index d1e3ac2d4..f9db9be11 100644 --- a/apps/showcase/components/doc/DocPTViewer.vue +++ b/apps/showcase/components/doc/DocPTViewer.vue @@ -37,7 +37,8 @@ export default { else if (componentName === 'ScrollTop') cmpName = 'Button'; else if (componentName === 'Galleria') cmpName = 'GalleriaContent'; - if (item.label === 'root') selector = `[data-pc-name="${cmpName.toLowerCase()}"]`; + if (componentName === 'InputMask') selector = `[data-pc-extend="inputtext"][data-pc-section="root"]`; + else if (item.label === 'root') selector = `[data-pc-name="${cmpName.toLowerCase()}"]`; else if (item.label.startsWith('pc')) selector = `[data-pc-name="${item.label.toLowerCase()}"]`; else selector = `[data-pc-section="${item.label.toLowerCase()}"]`;