Please refer to this sample : https://stackblitz.com/edit/react-syncfusion-jtg4x7
We are not able to access the ej2_instances on the actionComplete event when using a custom dialog template.
The workaround is to use a setTimeout and then we can access the instance.
The source code in your sample does not use a setTimeout though : https://ej2.syncfusion.com/react/documentation/grid/editing/template-editing/#inline-or-dialog-template-editing
Is this a bug ?
Greetings from Syncfusion support.
Yes, we have confirmed that the reported behavior is an issue from our side and logged it as - “Script error while accessing edit form inside the actionComplete event”. Thank you for taking the time to report this issue and helping us improve our product. At Syncfusion, we are committed to fixing all validated defects (subject to technical feasibility and Product Development Life Cycle ) and will include the defect fix in our upcoming patch release which will be rolled out by 2nd week of February 2023.
You can now track the current status of your request, review the proposed resolution timeline, and contact us for any further inquiries through the below link,
Disclaimer: The inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.