Issue T3818
Visible to All Users

Separating out different tabs of Creator control and render them separately without the tab name & padding

created 5 years ago

Hi Team,

As we spoke earlier regarding this on call.
I would like to implement the library to be rendered differently according to the tab for which we want to render it. Ex I would just like to render the "test survey" tab.

Clipboard-File-1.png

Answers approved by surveyjs Support

created 5 years ago

Hello,
Here is the example.

Thank you,
Andrew
SurveyJS Team

    Show previous comments (2)

      Perfect! I was going to work on the example.

      Thank you,
      Andrew
      SurveyJS Team

      AR AR
      Abhishek Rastogi 5 years ago

        Hi Andrew,

        Can you please refer this example?
        https://plnkr.co/edit/s2L1XoP5jbiahnGy

        The showDesignerTab: false is causing some runtime error.

        Uncaught TypeError: Cannot read property 'renderedElement' of undefined
        at SurveyCreator.applyBinding (editor.ts:2117)
        at SurveyCreator.render (editor.ts:1302)
        at new SurveyCreator (editor.ts:1091)
        at index.js:8

        We want to set the creator.text when only preview tab is visible.

          Hello,

          It's a bug in our code. Bug has been introduced in v1.7.3. I've fixed it via the https://github.com/surveyjs/survey-creator/commit/b2115e881e8f092af0279da824eea85803b8f343 commit. FIx will be available in the nearest update.

          Thanks, Serge
          SurveyJS Team