From bd9c48a78a81251e6e07f7588c54e16ab12cadbf Mon Sep 17 00:00:00 2001 From: Margo Urey Date: Sat, 13 Aug 2016 16:08:12 +0100 Subject: [PATCH] update readme with correct data attribute for displaying no matches --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fbeca52..df49edc 100644 --- a/README.md +++ b/README.md @@ -276,7 +276,7 @@ To configure the behaviour if no matches are found, you can set the following op These will change the behaviour globally. To set them on a single input field use: f.autocomplete_field :brand_names, autocomplete_brand_name_products_path, - 'data-showNoMatches' => false + 'data-show-no-matches' => false #or f.autocomplete_field :brand_names, autocomplete_brand_name_products_path, 'data-noMatchesLabel' => 'no brands found'