Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

ngIf and ngShow mistreats "[]" (empty array) #3969

Closed
@jrencz

Description

@jrencz

If ngIf/ngShow if given an argument of a string of 2 characters: "[" and "]" it is treated as if it would be [] - empty array, which is neither true nor false.

Here's a test (utilizing ngIf only)
http://jsfiddle.net/VeJfM/1/

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions