Update DocPTViewer.vue

pull/6423/head^2
tugcekucukoglu 2024-09-19 15:26:58 +03:00
parent 87ef5e95e1
commit ab12b6b9d0
1 changed files with 2 additions and 1 deletions

View File

@ -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()}"]`;