surveyjs / survey-creator

Scalable open-source survey software to generate dynamic JSON-driven forms within your JavaScript application. The form builder features a drag-and-drop UI, CSS Theme Editor, and GUI for conditional logic and form branching.
https://surveyjs.io/open-source
Other
915 stars 373 forks source link

Is it possible to auto-change dropdown choice values from creator? #5418

Closed mgoetz-nerdery closed 7 months ago

mgoetz-nerdery commented 7 months ago

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

Asking a question

What is the current behavior?

When you update the choices in the center main creator view instead of the property grid menu, it only changes the name of the choice, not the value.

For instance, in this screenshot, the user has changed the first choice to "Name 1" in the main creator view; the name of the choice has changed, but the value has not.

Our users have found this confusing because it's much easier to change the main creator view.

6bc9387c-e49c-46df-a62b-649ca6181ae8

What is the expected behavior?

Is it possible to change or configure this behavior so that the value of the choice is also changed from the main creator view?

Specify your

andrewtelnov commented 7 months ago

@mgoetz-nerdery Sure you can use creator.inplaceEditForValues property. creator.inplaceEditForValues = true;.

Thank you, Andrew

mgoetz-nerdery commented 7 months ago

Thank you! That addressed my issue.