Can anyone show me what is the complete code for lightning Drop-down List.

enter image description here

Here is my code ..

    <div class="Styler">
        <ui:inputSelect label="Active Events">
           <aura:iteration items="{!v.ActiveEvents}" var="wew">
             <ui:inputSelectOption value="{!wew.Name}"/> 

Can Anyone help me to reach out the exact code for this.

1 Answer 1


I'm not sure what you mean but the exact code for that. Are you looking for the aura source code behind those components? If that's the case then you can look for yourself, the aura framework is open-source. The repository is here.

Here is the ui:inputSelect component. And here is the ui:inputSelectOption component.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .