Skip to content

Instantly share code, notes, and snippets.

@sfmishra
Created August 25, 2018 18:00
Show Gist options
  • Save sfmishra/9def3d39c41bbca4caa3ed0e2337a4a4 to your computer and use it in GitHub Desktop.
Save sfmishra/9def3d39c41bbca4caa3ed0e2337a4a4 to your computer and use it in GitHub Desktop.
<aura:component implements="flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId,forceCommunity:availableForAllPageTypes" access="global" >
<div class="demo-only slds-grid" style="height: 150px; width: 300px; padding: 2rem;">
<div class="slds-is-fixed">
<div style="position: absolute;">
<ui:inputSelect multiple="true" aura:id="levels" change="{!c.onSelectChange}">
<ui:inputSelectOption text="" label="" value="true"/>
<ui:inputSelectOption text="Pune" label="Pune"/>
<ui:inputSelectOption text="Mumbai" label="Mumbai"/>
<ui:inputSelectOption text="Delhi" label="Delhi"/>
<ui:inputSelectOption text="Bangalore" label="Bangalore"/>
</ui:inputSelect>
<label class="slds-form-element__label">You selecetd</label>
<ui:inputText aura:id="selectedVal" value=""/>
</div>
</div>
</div>
</aura:component>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment