https://experienceleague.adobe.com/en/docs/experience-manager-learn/forms/select-dam-folder-content/populating-choice-group-with-dam-folder-contentyou could use the same logic for populating drop down list
I am creating an addressblock component. All you have to do is create node called addressbloc as shown below with the following properties Next under the address block component node create a node called cq template with the elements of your address block . For example, you can create streetaddre...