surveyjs / custom-widgets

The collection of custom widgets for SurveyJS: Survey Library and Survey Creator :package:
https://surveyjs.io
MIT License
79 stars 78 forks source link

rating widget doesn't render as it should #230

Open metalbea opened 3 years ago

metalbea commented 3 years ago

dear,

I want to implement the rating widget in my form, I've created it using the formbuilder but when I implement the json in my website the rating doesn't render as it should. the html code looks very different from how it looks in the builder. This problem doesn't occur with other widgets.(or at least, I haven't noticed)

my json: { "type": "rating", "name": "satisfaction", "title": "How satisfied are you with the Product?" }

I'm working with:
react 17.0.1 with typescript surveyjs 3.0.0 survey-react 1.8.16 surveyjs-widgets 1.8.17

(left -> my website, right -> serveyjs.io/create-survey) image

tsv2013 commented 3 years ago

Can you share a minimal sample illustrating the issue?

okaydeveloper789 commented 3 years ago

https://codesandbox.io/s/dry-thunder-bmnru?file=/src/App.tsx

tsv2013 commented 3 years ago

Here is the working minimal codesandbox sample - https://codesandbox.io/s/sweet-nightingale-qnomh