↧
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 ArticleAnswer 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 ArticleHow 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