Issue T2487
Visible to All Users

PDf Export Readyonly: Radiobutton and Dropdown are still editable

created 5 years ago

Hi,

when exporting a schema and data using mode="display", radiobutton and dropboxes are still editable

See attached plunker.js to test.
We have a simple sample and a more complex sample
the more complex sample renders change boxes

see also attached resultPDFs

Any idea what the issue can be.

Regards,
Marc

Answers approved by surveyjs Support

created 5 years ago

Hello again,

We found another bug with setting readOnly to radiogroup when using display mode and fix it. It will available with next minor update. Right now as a workaround you may set readOnly = true property to all radiogroup questions manually in code or survey json

Thanks, Alex
SurveyJS Team

    Comments (3)

      OK, thanks for that. We will wait for the update in stead of creating the working around
      But…Did you see the extra square which is generated in the complex example . eg Question 8 . see PDF for reference

        I found that if "renderAs":"select2" is added to the dropdown control, the extra square is generated in the PDF. Can this be fixed as well?

          Hello,

          Select2 is custom widget and SurveyPDF, unfortunately, has no support of custom widgets at this moment. Therefore, it is better not set renderAs property when exporting SurveyJS JSON to PDF

          Thanks, Alex
          SurveyJS Team

          created 5 years ago

          Hello Marc,

          There was bug with setting readonly to dropdowns, we fixed it with 1.1.3 release, so you can update your version. Indeed we can reproduce problem with radiogroup readonly, we will investigate this and write you back

          Thanks, Alex
          SurveyJS Team