# Dynamic Dropdown

**URL:** <https://forum.shopware.com/t/dynamic-dropdown/89566>\
**Category:** Shopware 6 (English)\
**Tags:** general, administration\
**Created:** [4. August 2021 um 10:39 UTC](https://forum.shopware.com/t/dynamic-dropdown/89566 "2021-08-04T10:39:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hasan.h](https://avatars.discourse-cdn.com/v4/letter/h/e56c9b/32.png) [@hasan.h](https://forum.shopware.com/u/hasan.h)\
**Post date:** [4. August 2021 um 10:39 UTC](https://forum.shopware.com/t/dynamic-dropdown/89566/1 "2021-08-04T10:39:14Z")

</div>

Hello,  
I have given an option in my config.xml to allow user to select either a text field or a dropdown. I want to put a condition that if the user selects dropdown then the user can add options for the dropdown to be shown in the index.html.twig file. How do I do this?
