Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Binding lightning:input checkbox value. Must bind to 'checked' not 'value'
<aura:attribute name="testBoolean" type="Boolean" default="false" />
<lightning:input name="testBoolean" label="Test Boolean" type="checkbox" checked="{!v.testBoolean}" />
Copy link

Yes but the 'c' is lowercase. ie. onchange.

From the docs : "You can define a client-side controller action for input events like onblur, onfocus, and onchange."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment