This morning while working on an Admin-only page to manage user data, I started getting warning statements like the following in the console when this page loads for every single page element where I have created an event handler. For example:
function search_click is registered as a static event handler but is not exported from the page code. Please remove the static event handler or export the function.
In fact, it Is written as exported:
export function search_click(event) {
// This function was added from the Properties & Events panel. To learn more, visit http://wix.to/UcBnC-4
// Add your code for this event here:
$w("#sitmembersdataset").setFilter( wixData.filter()
.startsWith("firstName",$w("#firstName").value)
.and(
wixData.filter()
.startsWith("lastName",$w("#lastName").value)
.and(
wixData.filter()
.startsWith("email",$w("#emailAddress").value)
)
)
);
}
What’s going on? The page is also not executing properly now - onReady() is never called.