From b4292b6467808aed6d848dc0639a591ea68e3c35 Mon Sep 17 00:00:00 2001 From: Ty Potter Date: Tue, 11 Aug 2015 14:34:40 -0700 Subject: [PATCH] fix(chips): interaction with Autocomplete Properly set require-match=true in demos so that the value is correct in the components. Check for requiredMatch on the controller instead of on the scope. fixes #3475 closes #4108 --- src/components/chips/demoContactChips/index.html | 2 +- src/components/chips/demoCustomInputs/index.html | 2 +- src/components/chips/js/chipsController.js | 7 +++++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/components/chips/demoContactChips/index.html b/src/components/chips/demoContactChips/index.html index 0110baac161..f1c64a3a4b3 100644 --- a/src/components/chips/demoContactChips/index.html +++ b/src/components/chips/demoContactChips/index.html @@ -7,7 +7,7 @@ md-contact-name="name" md-contact-image="image" md-contact-email="email" - md-require-match + md-require-match="true" filter-selected="ctrl.filterSelected" placeholder="To"> diff --git a/src/components/chips/demoCustomInputs/index.html b/src/components/chips/demoCustomInputs/index.html index ad5adb4b7f4..1b99013f536 100644 --- a/src/components/chips/demoCustomInputs/index.html +++ b/src/components/chips/demoCustomInputs/index.html @@ -15,7 +15,7 @@

Use an input element to build an ordered set

Use md-autocomplete to build an ordered set of chips.

- +