From 38f291ab99a5ccba95c4f5a2f4bc0235571d0882 Mon Sep 17 00:00:00 2001 From: Jeff Date: Fri, 8 Nov 2019 10:56:46 -0800 Subject: [PATCH] @search instead of on-search --- docs/guide/upgrading.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/guide/upgrading.md b/docs/guide/upgrading.md index e16128a..db720e2 100644 --- a/docs/guide/upgrading.md +++ b/docs/guide/upgrading.md @@ -69,10 +69,10 @@ has always provided the same parameters and can be used in it's place. ``` -### `onSearch` with null search string +### `@search` with null search string -The `onSearch` callback is now fired anytime the search string changes. In v2.x, the component -would first check if the search string was empty, and only run the callback if it had at least one +The `@search` event is now fired anytime the search string changes. In v2.x, the component +would first check if the search string was empty, and only emit the event if it had at least one character. This was a design mistake, as it should be the consumers decision if a search should be run on an empty string.