Question T1801
Visible to All Users

Version incompatibilities

created 6 years ago

I want to use applyTheme and canShowProperty together but they use different versions of surveyjs (at least in the examples given):

applyTheme -> 1.0.75 https://surveyjs.io/Examples/Builder?id=options&theme=winter
canShowProperty -> 1.0.1 https://plnkr.co/edit/x1yTUx?p=preview

I tried different version for using both together but it seems not work, is it possible to use together ? Which version I should use ?

Any help it would be appreciate.

Thanks in advance.

Answers approved by surveyjs Support

created 6 years ago

Hello,
Here is the plunker with updated version that works with your code. I have changed only libraries versions.

Thank you,
Andrew
SurveyJS Team

    Other Answers

    created 6 years ago

    Thanks for your quick response.

    I can see a difference I would like to modify if it's possible (see attachment), could I remove the 'add page' that appears in the second picture (which is visible if I use 1.0.75 but not if I use 1.0.1).

    Thank you again.surveyjs.png

      Show previous comments (1)

        Hello,
        We are going to add these functionality pretty soon, likely in couple weeks.
        We are going to make an ability to make the Builder (Editor) readOnly, without ability to change anything, only review.
        We are going to add options to disable ability to add/remove pages and so on.

        Thank you,
        Andrew
        SurveyJS Team

          Perfect, thank you very much.

          Regards

            Hello,

            I've added the readOnly property for the editor object that makes editor read only.
            This functionality will be available in the nearest minor update, most likely tomorrow.

            Thanks, Serge
            SurveyJS Team