custom-widgets icon indicating copy to clipboard operation
custom-widgets copied to clipboard

select2tagbox is not displaying in Survey in React Application

Open haddyo opened this issue 6 years ago • 3 comments

Dear Team,

After playing around with survey-react for good amount of time, we are not able to bring 'tagbox' and then i forked 'survey-react' and then figured out to be an issue with survey-react itself.

Please find below the Sandbox where i have forked 'survey-react' and tried to render tagbox

https://codesandbox.io/s/hidden-browser-r1shn?from-embed

tagbox is not rendering there as well.

Can someone help with an solution which i can apply?

Thanks in Advance.

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

Reporting a Bug

What is the current behavior?

Not Rendering TagBox custom Component

https://codesandbox.io/s/hidden-browser-r1shn?from-embed

What is the expected behavior?

Tagbox should be rendered

  • browser: Chrome
  • browser version: 79.0.3945.88
  • surveyjs platform (angular or react or jquery or knockout or vue): React
  • surveyjs version: 1.1.29

haddyo avatar Jan 08 '20 07:01 haddyo

I've transferred the issue into the corresponding repo. We have a live sample for ReactJS on our site - https://surveyjs.io/Examples/Library/?id=custom-widget-select2-tagbox&platform=Reactjs&theme=modern

We have also the https://github.com/surveyjs/surveyjs_react_quickstart repo deminstrating how to use SurveyJS libraries in the react application. The widget is need to be initialized as shown here - https://github.com/surveyjs/surveyjs_react_quickstart/blob/master/src/App.js#L42

I've just checked this repo and it works ok for me.

tsv2013 avatar Jan 09 '20 12:01 tsv2013

Please find the sandbox i forked using , https://github.com/surveyjs/surveyjs_react_quickstart and i updated the App.js file as you've mentioned. Still i'm not able to see the tagbox. Sandbox: https://codesandbox.io/s/vibrant-sun-kqoei?from-embed

haddyo avatar Jan 20 '20 10:01 haddyo

I have the same issue.

ghazal-karami avatar Sep 09 '20 01:09 ghazal-karami