Skip to content

Commit

Permalink
add parameter into elementWrapperComponentNameCore
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtelnov committed Jun 17, 2024
1 parent 62b1ac1 commit 8d5e0b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/survey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1921,7 +1921,7 @@ export class SurveyModel extends SurveyElementCore
}
public getRendererForString(element: Question | PanelModel | PageModel | SurveyModel, name: string): string {
let renderAs = this.getBuiltInRendererForString(element, name);
renderAs = this.elementWrapperComponentNameCore(renderAs, element, "string");
renderAs = this.elementWrapperComponentNameCore(renderAs, element, "string", name);
const options: TextRenderAsEvent = { element: element, name: name, renderAs: renderAs };
this.onTextRenderAs.fire(this, options);
return options.renderAs;
Expand Down

0 comments on commit 8d5e0b0

Please sign in to comment.