surveyjs / custom-widgets

The collection of custom widgets for SurveyJS: Survey Library and Survey Creator :package:
https://surveyjs.io
MIT License
79 stars 78 forks source link

Survey form breaks when we use autocomplete widget with matrixdynamic #240

Closed Danyshman closed 3 years ago

Danyshman commented 3 years ago

When you use matrixdynamic with autocomplete widget, if you use "text" type in matrixdynamic, form throws error. Here is the url for sandbox https://codesandbox.io/s/brave-smoke-oq5s9?file=/src/SurveyComponent.jsx

tsv2013 commented 3 years ago

Thank you for the sample. We'll take a look.

Danyshman commented 3 years ago

When the fix will be available? Thank you!

dk981234 commented 3 years ago

Hello,

The fix will be available with the next minor update, which will be in the coming days, probably, tomorrow.

Thanks, Dmitry SurveyJS Team

Danyshman commented 3 years ago

@dk981234 How i can pass custom configuration to easy-autocomplete widget?

dk981234 commented 3 years ago

Hello,

We've implemented the 'config' property to pass custom configuration to the easy-autocomplete widget. For example, you can pass placeholder like this: var json = { questions: [ { name: "autocomplete1", type: "text", config: { placeholder: "Car", }, choices: ["None"], }, ], };

The feature will be available with the next minor update next week.

Thanks, Dmitry SurveyJS Team