1

I have used this code to display help text on fields. The help icon appears but it doesn't popup the help text on hover. Here is my code

Text Label Help
            <div id="help" class="slds-popover slds-popover--tooltip slds-nubbin--bottom-left" role="tooltip" aria-live="polite" style="position:absolute;top:15px;left:103px;margin-left:-1.5rem;width:20rem;">
              <div class="slds-popover__body slds-text-longform">
                <p>Sample Help Text</p>
              </div>
            </div>
1
0

Add AL JS

And then bind the popover:

$(document).ready(function() {
   $('[data-aljs="popover"]').popover();
});

DEMO

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.