Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

salesforce lightning aura add red asterick for

<div class="slds-form-element">
    <label class="slds-form-element__label" for="cusinfocomp-input4">
        <aura:if isTrue="{!v.required}">
            <abbr class="slds-required" title="required" aura:id="emailReq">*											
            </abbr>
        </aura:if>
        Email Address
    </label>
    <div class="slds-form-element__control">
        <ui:inputText aura:id="cusinfocomp-input4" class="slds-input"
        value="{!v.contact.Email}" blur="{!c.checkValidate}"/>
    </div>
</div>
 
PREVIOUS NEXT
Tagged: #salesforce #lightning #aura #add #red #asterick
ADD COMMENT
Topic
Name
4+9 =