Quantcast
Channel: How to change UI Button label in controller? - Salesforce Stack Exchange
Browsing latest articles
Browse All 3 View Live

Answer by Oleh Berehovskyi for How to change UI Button label in controller?

I have recently tried to change a label of <ui:button> by myself using component.set() method: component.find('Btn1').set('v.label', 'New Label'); and it absolutely works. Can you please provide...

View Article


Answer by Igor Santana for How to change UI Button label in controller?

You can create an attribute and put it in the button's label. This way, you can simply modify the attribute's value in the js, and it will change in the button as well. Component: <aura:attribute...

View Article


How to change UI Button label in controller?

It's sound simple but I'm going nuts here, and I'm simply trying to change the label name in the controller.js file Here is what I'm doing here, any help? Component: <ui:button aura:id = "Btn1"...

View Article
Browsing latest articles
Browse All 3 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>