Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

select2tagbox is not displaying in Survey in React Application #161

Open
haddyo opened this issue Jan 8, 2020 · 3 comments
Open

select2tagbox is not displaying in Survey in React Application #161

haddyo opened this issue Jan 8, 2020 · 3 comments
Labels

Comments

@haddyo
Copy link

haddyo commented Jan 8, 2020

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
@tsv2013 tsv2013 transferred this issue from surveyjs/survey-library Jan 9, 2020
@tsv2013
Copy link
Member

tsv2013 commented Jan 9, 2020

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.

@haddyo
Copy link
Author

haddyo commented Jan 20, 2020

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

@ghazal-karami
Copy link

I have the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants