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

IF statement won't work in an EACH loop with an OBJECT, yet works fine with ARRAY #2133

Closed
Dreamvention opened this Issue Dec 2, 2016 · 1 comment

Comments

Projects
None yet
4 participants
@ghost

ghost commented Dec 2, 2016

Help us to manage our issues by answering the following:

  1. Describe your issue:

If statement won't work in an each loop with an OBJECT, yet works fine with ARRAY

  1. Can you reproduce the issue?

here
https://jsfiddle.net/rvhk0n98/10/

  1. On which browser/OS does the issue appear?

Chrome

  1. Which version of Riot does it affect?

3.0.1

  1. How would you tag this issue?
  • Question
  • Bug
  • Discussion
  • Feature request
  • Tip
  • Enhancement
  • Performance

@Dreamvention Dreamvention changed the title from If statement won't work in an each loop with an OBJECT, yet works fine with ARRAY to IF statement won't work in an EACH loop with an OBJECT, yet works fine with ARRAY Dec 2, 2016

@rsbondi rsbondi added the bug label Dec 2, 2016

@Tommy802

This comment has been minimized.

Show comment
Hide comment
@Tommy802

Tommy802 Dec 12, 2016

"if" conditional won't work within each loop when index is in the condition but with "show" there are no Problems

reproduce

Chrome with Riotjs Version 3.0.2

Tommy802 commented Dec 12, 2016

"if" conditional won't work within each loop when index is in the condition but with "show" there are no Problems

reproduce

Chrome with Riotjs Version 3.0.2

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