Email Input (1)


Allow Multiple Email Addresses in a Lightning Input Component

The lightning input component has built in support for emails which works great when you need to accept an email address as input. <lightning:input aura:id=”emailForm” label=”To: ” type=”email” name=”toEmail” value=”{!v.toEmail}” required=”true”/> This auto validates the input to ensure its in the correct format. The moment you add a semi-colon to add multiple emails, the validation […]