This page has an error. You might just need to refresh it. Component class instance initialization error [Cannot read property 'apply' of undefined] Failing descriptor: {markup://aura:application}
4 answers
Hi Chandan,Javascript is case sensitive, so in your case - Component Code - <ui:button aura:id="buttonid" label="Submit" press="{!c.getInput}"/>Component Controller Code - getinput : function(component, event) {}Note the method name written in press attribute and in the controllerChange it to getInput or getinput at both places and it will work fine.Hope this helped you.Thanks, Mustafa Jhabuawala
Technical Lead at Zen4orce (http://www.zen4orce.com)