survey-creator icon indicating copy to clipboard operation
survey-creator copied to clipboard

Cannot set default for completedHtml and similar properties

Open SamMousa opened this issue 3 months ago • 4 comments

Are you requesting a feature, reporting a bug or ask a question?

Bug

What is the current behavior?

Changing the default value for completedHtml does not work.

What is the expected behavior?

Changing the default value should work.

How would you reproduce the current behavior (if this is a bug)?

Complete the survey in the preview tab in the link below.

Provide the test code and the tested page URL (if applicable)

Tested page URL: https://codesandbox.io/p/sandbox/priceless-germain-g3fcht

Test code

const completedHtml = Serializer.findProperty("survey", "completedHtml");
completedHtml.default = "test";

SamMousa avatar Apr 11 '24 09:04 SamMousa