Issue T3865
Visible to All Users

Undo and redo buttons are not disabled in the read only mode after using logic tab

created 5 years ago (modified 5 years ago)

[Ticket cloned from T3861: Checkbox "Add new" and "Remove all" button enabled if surveujs readony is true]

And its undo and redo also actionable if surveyjs readonly is true

Show previous comments (2)

    try this.

    text:{ "pages": [ { "name": "page1", "elements": [ { "type": "checkbox", "name": "question1", "visible": true, "isRequired": true, "choices": [ "item1", "item2", "item3" ] }, { "type": "radiogroup", "name": "question2", "isRequired": true, "choices": [ "item1", "item2", "item3" ] } ] } ] },
    readOnly:0

      If readonly is true then only we can add item from add new button then undo and redo button will enabled.

      DK DK
      Dmitry Kurmanov 5 years ago

        If readonly is true then only we can add item from add new button then undo and redo button will enabled.

        Thanks! Now I can reproduce the problem and will work on it.

        Answers approved by surveyjs Support

        created 5 years ago

        I've fixed it via the https://github.com/surveyjs/survey-creator/issues/757. Fix will be available in the next minor update.