The onSurveyInstanceCreated
event doesn't provide a parameter that would contain the survey element being configured in Property Grid
#5808
Labels
Milestone
T19483 - options.obj.getType() is throwing error
https://surveyjs.answerdesk.io/internal/ticket/details/T19483
Previously, to access a property grid survey instance, the
creator.onPropertyGridSurveyCreated
function was used. In the meantime, this function is made obsolete. However, thecreator.onSurveyInstanceCreated
replacement function doesn't provide anoptions.obj
parameter to determine a target object for which a property grid was created. However, it is possible to determine this element using theoptions.model
parameter:options.model.objValue
. Should we add theoptions.model
property to an API description or add an additional option which would contain a target element?The text was updated successfully, but these errors were encountered: