Interface: RendererConfig
RendererConfig interface Provides fine-grained control over the styling and behaviour of the renderer.
Properties
disableHeadingFocusOnTabSwitch?
optionaldisableHeadingFocusOnTabSwitch:boolean
If true, disables automatic focus on the first heading when switching tabs.
- Default:
false
disablePageButtons?
optionaldisablePageButtons:boolean
If true, hides navigation buttons for pages.
- Default:
false
disablePageCardView?
optionaldisablePageCardView:boolean
If true, disables the card-style layout for pages.
- Default:
false
disableTabButtons?
optionaldisableTabButtons:boolean
If true, hides navigation buttons for tabs.
- Default:
false
enableWhenAsReadOnly?
optionalenableWhenAsReadOnly:boolean|Set<"string"|"boolean"|"group"|"display"|"question"|"decimal"|"integer"|"date"|"dateTime"|"time"|"text"|"url"|"choice"|"open-choice"|"attachment"|"reference"|"quantity">
Determines whether fields hidden by enableWhen logic should still be shown as read-only.
- Can be
true(all fields affected) or aSet<QuestionnaireItem['type']>to specify types. - Default:
false
hideClearButton?
optionalhideClearButton:boolean
If true, hides the clear button on input fields.
- Default:
false
hideQuantityComparatorField?
optionalhideQuantityComparatorField:boolean
If true, hides the quantity comparator field.
- Default:
false
hideQuestionnaireTitle?
optionalhideQuestionnaireTitle:boolean
If true, suppresses the renderer's built-in rendering of Questionnaire.title.
Set this to true when the consuming app already renders the title in its own header to avoid displaying it twice.
- Default:
false
inputsFlexGrow?
optionalinputsFlexGrow:boolean
Determines whether input fields should grow to fill available space.
false(default): Inputs maintain their default size.true: Inputs expand to fill space.
itemResponsive?
optionalitemResponsive:object
Controls responsive layout settings for item labels and fields.
columnGapPixels
columnGapPixels:
number
fieldBreakpoints
fieldBreakpoints:
Partial<Breakpoints["values"]>