I want to create an AJAX handler function for updating only the user password "onUpdatePassword". What I'm trying to do right now is this:
UserAccount::extend(function($component) {
$component->addDynamicMethod('onUpdatePassword', function() {
What should I do next? How do I pass form data and access components attributes and methods?
Last updated