surveyjs / surveyjs-nodejs

This demo shows how to integrate SurveyJS components with a NodeJS backend.
https://surveyjs-nodejs.azurewebsites.net
Other
146 stars 93 forks source link

delete survey functionality not working #10

Closed vanillacandy closed 2 years ago

vanillacandy commented 4 years ago

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

asking a question

What is the current behavior?

when I delete the survey, it popped out a box asking if I am sure to delete, I hit yes, then the survey didn't get deleted.

What is the expected behavior?

Survey should be deleted after the delete button is clicked.

How would you reproduce the current behavior (if this is a bug)?

By clicking on the delete button

Provide the test code and the tested page URL (if applicable)

Tested page URL:

Test code

your_code_here

Specify your

tsv2013 commented 4 years ago

Am I right and this question is related to surveyjs-nodejs repo? This repo demonstrates how to integrate SurveyJS client-side libraries with NodeJS backend. It doesn't have aim to demonstrate how to work with any database. That's why some functionality was ommited in favour of simplicity.

More over if anyone can delete demo data then others can't see anything ;-)

tsv2013 commented 2 years ago

Remove wasn't processed on client. Fixed via the https://github.com/surveyjs/surveyjs-nodejs/commit/08a4d51795767a4b9ec0a2eac238d62d55e37166 commit