1

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}"/> 
           </aura:iteration>
        </ui:inputSelect>     
    </div>

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

1 Answer 1

2

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.

0

You must log in to answer this question.

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