Are you requesting a feature, reporting a bug or ask a question?
Bug report
What is the current behavior?
Initial panel count (panelCount property) is ignored for PanelDynamic questions and displays to 0 instead of a provided value when initializing survey creator:
What is the expected behavior?
Initial panel count control should pick up and display panelCount property for PanelDynamic questions correctly
How would you reproduce the current behavior (if this is a bug)?
Click on question1 in the CodeSandbox example
Scroll to the Initial panel count setting in the General section
It shows 0 instead of 2, provided in the panelCount field
Provide the test code and the tested page URL (if applicable)
Are you requesting a feature, reporting a bug or ask a question?
Bug report
What is the current behavior?
Initial panel count
(panelCount
property) is ignored forPanelDynamic
questions and displays to0
instead of a provided value when initializing survey creator:What is the expected behavior?
Initial panel count
control should pick up and displaypanelCount
property forPanelDynamic
questions correctlyHow would you reproduce the current behavior (if this is a bug)?
question1
in the CodeSandbox exampleInitial panel count
setting in theGeneral
section0
instead of2
, provided in thepanelCount
fieldProvide the test code and the tested page URL (if applicable)
Tested page URL: https://codesandbox.io/s/reproduce-survey-creator-panel-count-reset-on-init-7bcivi?file=/src/App.tsx
Test code
Specify your
Google Chrome v112.0.5615.50 (Official Build) (64-bit)
survey-creator-react v1.9.79