I can't add New logic when create new survey.

This issue has been tracked since 2023-02-24.

When I integrate SurveyJs to React web application , I can't see the "Add New Rule" button to customize the flow of the survey even clicked Logic which was shown on the top bar.

I integrated the SurveyJs in my React Application like this.

import "survey-core/defaultV2.css";
import "survey-creator-core/survey-creator-core.css";
import { SurveyCreator, SurveyCreatorComponent } from "survey-creator-react";

const options = {
  haveCommercialLicense: true,
  showLogicTab: true
};
export default function SurveyComponent() {
  const creator = new SurveyCreator(options);
  return <SurveyCreatorComponent creator={creator} />;
}

https://prnt.sc/ITBNjpKjET5L

JaneSjs wrote this answer on 2023-02-27

Hello @wb-ts,
I tested the following Code Sandbox React application on the latest version but didn't get any issue adding a new logic rule: Example.
image

I don't see any issues with your code. Which version do you use?
Could you please also check to see if there is any errors in a browser console?

I look forward to your reply.

wb-ts wrote this answer on 2023-02-27

Did you try without setting creator.JSON as default?

JaneSjs wrote this answer on 2023-03-18

Hello,
I updated my sample and reset the initial survey JSON: example.

Please clarify how to reproduce the issue.

More Details About Repo
Owner Name surveyjs
Repo Name survey-creator
Full Name surveyjs/survey-creator
Language TypeScript
Created Date 2015-12-22
Updated Date 2023-03-30
Star Count 683
Watcher Count 29
Fork Count 308
Issue Count 301

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date