Hello All,
why my progress bar does not work anymore when I click on the next and previous button.
I work with survey-react latest version
JavaScriptconst json = {
//clearInvisibleValues: "onHidden",
//showProgressBar: "top",
showProgressBar: "top",
progressBarType: "buttons",
pages: []
}
render() {
const model = new Survey.Model(json);
return (
<Survey.Survey
model={model}
id="survey"
onAfterRenderQuestion={this.onAfterRenderQuestion}
onAfterRenderPanel={this.onAfterRenderPanel}
//showNavigationButtons={this.showNavigationButtons}
// onComplete={(result)=> console.log(result.data)}
onComplete={this.onComplete}
onTextMarkdown={this.onTextMarkdown}
//onComplete={sendDataToServer}
onCurrentPageChanged={this.doOnCurrentPageChanged}
sendResultOnPageNext={true}
showCompletedPage={this.showCompletedPage}
onPartialSend={this.onSurveyPartialSend}
/>
)}