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

The payload filter feature in tutorial does not work anymore. #972

Closed
xieyuheng opened this issue Jul 28, 2020 · 1 comment
Closed

The payload filter feature in tutorial does not work anymore. #972

xieyuheng opened this issue Jul 28, 2020 · 1 comment

Comments

@xieyuheng
Copy link

when changing const SetFilter = (state, event) => ({ ...state, filter: event.target.value }) ,

to const SetFilter = (state, word) => ({ ...state, filter: word }).

The oninput: [SetFilter, (event) => event.target.value] in the tutorial seems do not work anymore,

Maybe use oninput: (state, event) => SetFilter(state, event.target.value).

@jorgebucaran
Copy link
Owner

jorgebucaran commented Jul 28, 2020

@xieyuheng Just like #973, this is also a bug in the documentation. We're tracking this in: #965. Thanks.

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

No branches or pull requests

2 participants