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
900 stars 372 forks source link

React Editor example with barrating custom widget #270

Closed chambleton closed 6 years ago

chambleton commented 6 years ago

Hi - i'm posting this example for React on how to add a custom widget (barrating) to both the Editor and the Survey. This wasn't clear from the docs but might save someone else several hours of googling and trial and error. Thanks for making a great library!

https://stackblitz.com/edit/react-barrating-widget

andrewtelnov commented 6 years ago

@chambleton Thank you for sharing this to us and the community!

Andrew

tsv2013 commented 6 years ago

We've added corresponding sample in the react boilerplate repo - https://github.com/surveyjs/surveyjs_react_quickstart via the https://github.com/surveyjs/surveyjs_react_quickstart/commit/baa5d009e42974974f1557488c92b211fcdefc8a commit Thanks again