From 3ab49538a414a36c97ed3735c2473eefcf7be073 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Wed, 13 Oct 2010 10:51:16 -0700 Subject: fixed issue where ng:bind would not reset value if expression returned undefined --- regression/filter_repeater.html | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 regression/filter_repeater.html (limited to 'regression') diff --git a/regression/filter_repeater.html b/regression/filter_repeater.html new file mode 100644 index 00000000..202a6311 --- /dev/null +++ b/regression/filter_repeater.html @@ -0,0 +1,31 @@ + + + + + + + +

This is a demo of a potential bug in angular.

+

Try the following:

+
    +
  1. Type "foo" on the filter box. +
  2. Clear the contents of the filter box. +
  3. Type "bar" on the filter box. +
  4. Clear the contents of the filter box. +
+

Why doesn't the data goes back to the original?

+
+ Input: +
+ + + + + + + + + +
FooBar
{{record.foo}}{{record.bar}}
+ + \ No newline at end of file -- cgit v1.2.3