Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Easyautocomplete not working on MatrixDynamic questions #145

Closed
WJ89 opened this issue Oct 18, 2019 · 2 comments
Closed

Easyautocomplete not working on MatrixDynamic questions #145

WJ89 opened this issue Oct 18, 2019 · 2 comments

Comments

@WJ89
Copy link

WJ89 commented Oct 18, 2019

The easy-autocomplete widget does not seem to function on an column in a matrixdynamic question,
it is binding to the input but autocomplete is set to off and doesn't function.

Plunker example:
https://plnkr.co/edit/nzFgC31eN8kxEmYVLJFe?p=preview

@gologames
Copy link
Contributor

Hello,

We fixed it via commit above. It will available with next minor update. Right now as a workaround you may add code below at the very top of your js file

Array.prototype.push.apply(
        Survey.matrixDropdownColumnTypes.text.properties,
        ["choices", "choicesOrder", "choicesByUrl", "otherText"]);

@WJ89
Copy link
Author

WJ89 commented Oct 21, 2019

Thanks for your quick reply and fix.
This seems to work fine with choicesByUrl on older versions of the library (tested on 1.0.95) but on the newer versions (Tested on 1.1.16 and 1.1.8) it is throwing a Uncaught RangeError: "Maximum call stack size exceeded."

Plunker example (works fine if you downgrade survey.react.js version to 1.0.95):
https://plnkr.co/edit/nzFgC31eN8kxEmYVLJFe?p=preview

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants