0

I'm using the lightning:unsavedChanges. I don't want to use the Save button.

I also tried with display:none but it didn't work. How can I remove or hide it? Thanks enter image description here

  • 1
    If there's no documented way to do it, you won't be able to achieve what you are attempting to. – Jayant Das Feb 28 '19 at 16:16
0

in the css of the component, you can add

.THIS .slds-button-brand{ display:none; visibility:hidden; }

this will hide all of the brand buttons in that component

  • It didn't work and I don't want to hide all brand buttons. Thanks. – Justin TR Mar 1 '19 at 3:25

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.