I want to show dropdown attribute on product listing page but Magento is not providing that functionality so I have created attribute as text swatch now I want to show that attribute as a dropdown on the product listing page.
it is possible to create a dropdown of text swatch? in list.phtml attribute as displaying through this line
<?= $block->getProductDetailsHtml($_product) ?>
like this i want to create a dropdown