How to Disable ui.button in Lightning Component
The right syntax to do this is below
var btn = event.getSource();
btn.set("v.disabled",true);//Disable the button
The right syntax to do this is below
var btn = event.getSource();
btn.set("v.disabled",true);//Disable the button