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
921 stars 376 forks source link

toolboxLocationType doesn't include the "none" option which allows hiding a toolbox #5844

Open JaneSjs opened 2 months ago

JaneSjs commented 2 months ago

https://github.com/surveyjs/survey-creator/blob/968a761905e19b36f2b1ebf28bf459b4d8f9fc20/packages/survey-creator-core/src/creator-base.ts#L108

To hide the toolbox, it is necessary to set the creator.toolboxLocation property to "none". However, toolboxLocationType doesn't actually include the "none" option.

JaneSjs commented 2 months ago

Thanks, @OlgaLarina, for the recommendation to use the creator.showToolbox option. However, it is not currently listed in SurveyCreatorModel API. We should add it.