Bugs in SurveyJS 1.1.16 layout/workings
See original GitHub issueAre you requesting a feature, reporting a bug or asking a question?
Reporting bugs
What is the current behavior?
-
Description underInput does not get the class=‘small’ making it the same size as the titles. Description underTitle does get the class and looks like it should.
-
The layout in version 1.1.15 and 1.1.14 is bodged, there is no spacing between the questions, in version 1.1.14 the layout looks fine.
-
Adding a function to onComplete does not work properly. When adding a function with a window.location.href redirect there, it shortly shows the standard “Thank you for completing the survey” text before actually redirecting. I now redirect on successful onServerValidateQuestions and refrain from using onComplete.
What is the expected behavior?
- Add the class=‘small’ to the div around the description span for underInput like you do for underTitle descriptions:
-
I don’t know if this is only a problem on my way of using SurveyJS, but I expect the same layout spacing in subsequent versions.
-
onComplete should completely override the standard onComplete showing the text “Thank you for completing the survey”
How would you reproduce the current behavior (if this is a bug)?
-
Create a question with an underTitle description and one with an UnderInput description and see the difference. On the survey creator it looks fine, but on an implemented survey it does not (for me).
-
Look at an implemented survey on version 1.1.14 vs version 1.1.15 and 1.1.16.
-
Add a redirect to onComplete and see that it doesn’t redirect without showing the standard text onder or in place of the survey.
Provide the test code and the tested page URL (if applicable)
function onComplete(result) { window.onbeforeunload = null; window.location.href = "{{ url }}"; }
I will try to make some screenshots of the layout problem if needed, please let me know (it will take me some effort to switch versions and show the problem).
Specify your
- browser: Chrome
- browser version: Version 77.0.3865.120
- surveyjs platform (angular or react or jquery or knockout or vue): jquery
- surveyjs version: 1.1.14
Issue Analytics
- State:
- Created 4 years ago
- Comments:18 (9 by maintainers)
Top GitHub Comments
Hello, According to the documentation you can use showCompletedPage: false to hide the “Thank you” page. Fix for description under input will be available in the next minor update. Thanks Dmitry SurveyJS Team
@dk981234 Yes!!! It is working now. Thanks Nikhil Singh