function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Rick RossiRick Rossi 

Error message on component

Hello, I am getting the following error message on a helper on a component: "Action failed: c:NotesObject$controller$doInit [helper.doInitHelper is not a function]"

Below is the doInit:

({
    doInit : function(component, event, helper) {
        helper.doInitHelper(component, event, helper);
    },
    
    openCreateModal : function(component, event, helper) {
        helper.openCreateModalHelper(component, event, helper);
    },
    
    closeModal : function(component, event, helper) {
        component.set("v.openNewModal", false);
    },
    
    createNote : function(component, event, helper) {
        helper.createNoteHelper(component, event, helper);
    },
    
    markComplete : function(component, event, helper) {
        helper.markCompleteHelper(component, event, helper);
    },
})
Suraj Tripathi 47Suraj Tripathi 47
Hi Rick,
Please Attach Cmp file and helper also,so that I can help You
Thanks