You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The registerRenderer method now has a Boolean parameter—useAsDefault. Pass true if you want to use the renderer you are registering as a default renderer for questions of a specifed type:
import{RendererFactory}from"survey-core";// ...RendererFactory.Instance.registerRenderer("radiogroup","radiogroup-with-image","sv-radiogroup-with-image",true// Use "sv-radiogroup-with-image" as a default renderer for questions of a "radiogroup" type);
RomanTsukanov
changed the title
Allow to override the default rendered in RendererFactory singleton
Introduce an API to override a default renderer for all questions of a specific type
May 7, 2024
IMPLEMENTED
The
registerRenderer
method now has a Boolean parameter—useAsDefault
. Passtrue
if you want to use the renderer you are registering as a default renderer for questions of a specifed type:View Demo
The text was updated successfully, but these errors were encountered: