-
-
Notifications
You must be signed in to change notification settings - Fork 109
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
Deps => @rules[@matched] is null #35
Comments
I'm not sure if using spaces as tokens is something that we can really support, given how it is used to determine the beginning and end of search strings. In any case, I can consider your use case. Can you provide a meteor app that reproduces this, please? |
Hi mizzao, Seem not to be linked with 'space' but with deps. To reproduce:
Thanks. |
Hi Andrew, Did you find something on this deps error ? Thanks. |
Hi @pascoual, I took a look at your demo and it appears this is a duplicate of #30 - being unable to use the autocomplete with a changing data context or helpers. On https://github.com/pascoual/meteor-autocomplete-issue35/blob/master/autocomplete-issue35.html#L25 you have I'm going to update the way this works once the new Blaze API comes out (https://meteor.hackpad.com/Blaze-Proposals-for-v0.2-hsd54WPJmDV) but for now I'm probably just going to wait a bit until better Blaze component tools come out. |
Hi, @dandv : don't get the error anymore but don't works better, completion is ko after a collection update. @mizzao : yes setting value="" let autocompletion works but I need a way to init this value :). So I've added {reactive: false} to userList helper and all goes right untill concurrent modifications of the field. We will wait Blaze V0.2 ;). |
Hi @pascoual: I've pushed a change that will re-render the autocomplete to deal with updated data contexts. I've verified that this fixes the issue on your repo. Can you try it and confirm for me please? |
0.4.4 is released and I believe it fixes this issue. Please re-open if this is not the case. |
@mizzao perfect ! |
Hi,
When using space as token (token: ' ') it works untill reactive data has changed. And we get this:
Thanks.
Pascal
The text was updated successfully, but these errors were encountered: