Question T513
Visible to All Users

How to set fast entry as default entry method for choice type question

created 7 years ago (modified 7 years ago)

Hi,

How can i set fast entry as default entry method for choice type question.

Clipboard-File-1.png

Thanks,
Eric

Answers

created 7 years ago (modified 3 years ago)

Hello! We've added the itemsEntryType setting to the property editor options. Please check the code:

JavaScript
editor.onSetPropertyEditorOptions.add(function(sender, options) { options.editorOptions.itemsEntryType = "form"; });

Setting will be available in the next patch release.

Thanks for your suggestions.

    Show previous comments (20)
    EB EB
    Eric Bransteter 7 years ago

      Hi Serge,

      I checked in my code, and find that, if i comment below line from code it work as expected, but if i uncomment that line issue come back.

      JavaScript
      Survey.JsonObject.metaData.addProperty("ItemValue", { name: "rowid:number", default: -1 });

      I am also able to reproduce the issue in your plunker, here is the link for that,
      https://plnkr.co/edit/pYOOzZ3aQScL4Inw?preview

      May be this will help you.
      Thanks
      Eric

        Hi Eric,

        Thank you so much! I've reproduced the issue and started to fix it.

        Thanks, Serge
        SurveyJS Team

          Hi Eric,

          I've fixed the issue (see https://github.com/surveyjs/editor/issues/332)..)
          Fix will be available in the nearest update.

          Thanks, Serge
          SurveyJS Team