You need to sign in to do that
Don't have an account?
Baz Denson
Lightning Component component.find("comments").get("v.value"); fails on second click
I am trying to record comments in a lightning component, I have the line
When I click the 'update' button, the whole thing runs fine. If I click the button a second time, its fails and says
I can't understand why it works on the first click but not on the second click.
var task_comments = component.find("comments").get("v.value");
When I click the 'update' button, the whole thing runs fine. If I click the button a second time, its fails and says
Uncaught Action failed: c:Stopwatch$controller$onClick [component.find(...).get is not a function]
I can't understand why it works on the first click but not on the second click.
Stopwatch.cmp
StopwatchController.js
CaseLogController.apxc