Issue T14805
Visible to All Users

Re: Survey Creator: Disable editing for some questions

created a year ago

Hello,
I'm trying to disable deleting choices on question in the survey creator if the number of choices is less than three. I'm using the function from https://surveyjs.answerdesk.io/ticket/details/t6822. But it only works with the initial rendering of the survey creator. Is there a way to remove the ability to dynamically delete responses?

Show previous comments (1)

    Hello,
    To help us consider the best option to handle this, please additionally clarify whether you wish to limit the number of minimum choices for all questions which may contain choices (e.g., Radiogroup, Dropdown, Matrices), or for specific question types.

    I look forward to your reply.

      Thank you so much!
      I wish to limit the number of minimum choices for all questions which may contain choices

      AT AT
      Andrew Telnov a year ago

        Hello,
        This PR adds minimumChoicesCount property into creator and creator options. You can set it to 3, for example, to disable deleting any choice item if there are only 3 choice items.
        It is very likely that the PR will be merged into master branch and this functionality will be available in the version we will release next week.

        Thank you,
        Andrew
        SurveyJS Team