+ Start a Discussion
Dan Albrecht 5Dan Albrecht 5 

lightning:picklistPath - Turn off clicking?!?!

Good day developer community.  I have created a custom lightning:picklistPath componenet to use in our community.  The trouble I am having is that I dont want the end user to be able to click on the path.  I only want them to see it.  I used a custom component because I have far too many record types (in the process of reducing) where the picklist values differ.  I am hoping someone can provide some guidance on if this is doable.  In the event that I cannot turn this off, any suggestions as what to display or not display upon the user clicking? 
Best Answer chosen by Dan Albrecht 5
Dan Albrecht 5Dan Albrecht 5
Giving you a thumbs up Raj V.  you pointed me in the right direction. If I use CSS and used the pointer-events:none; that seemed to do the trick.  Test on your end and let me know if you see the same on your end.
.THIS{
pointer-events:none;
}

All Answers

Raj VakatiRaj Vakati
I dnt think so you can able to do it .. i tried with CSS also but dnt worked 
 
color: currentColor !important;
    cursor: not-allowed !important;
    opacity: 0.5 !important;
    text-decoration: none !important;

 
Dan Albrecht 5Dan Albrecht 5
Giving you a thumbs up Raj V.  you pointed me in the right direction. If I use CSS and used the pointer-events:none; that seemed to do the trick.  Test on your end and let me know if you see the same on your end.
.THIS{
pointer-events:none;
}
This was selected as the best answer
Raj VakatiRaj Vakati
Great finding Don ! It worked .!  Mark this as solved ! 
pointer-events:none; is working  . How come i missed it :(