From edcfeb222b5a56c5b70a5c4dd8171b2010ce9ef9 Mon Sep 17 00:00:00 2001 From: gabrielgiroe1 Date: Fri, 19 Apr 2024 13:56:24 +0300 Subject: [PATCH 1/2] Added warning --- docs/3.0/dynamic-filters.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/3.0/dynamic-filters.md b/docs/3.0/dynamic-filters.md index 5c4fc48b..a2f2fd8b 100644 --- a/docs/3.0/dynamic-filters.md +++ b/docs/3.0/dynamic-filters.md @@ -38,6 +38,10 @@ class Project < ApplicationRecord end ``` +:::warning + Ensure array items are strings, not symbols. +::: + This will make Avo add this new "Filters" button to the view of your resource. When the user clicks the button, a new filters bar will appear below enabling them to add filters based on the attributes you marked as filterable. From 755bb5992d87aa9e58d2f5b49c386bf55dd5690d Mon Sep 17 00:00:00 2001 From: Adrian Marin Date: Fri, 19 Apr 2024 19:33:59 +0300 Subject: [PATCH 2/2] Update docs/3.0/dynamic-filters.md --- docs/3.0/dynamic-filters.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/3.0/dynamic-filters.md b/docs/3.0/dynamic-filters.md index a2f2fd8b..e5a78a07 100644 --- a/docs/3.0/dynamic-filters.md +++ b/docs/3.0/dynamic-filters.md @@ -39,7 +39,7 @@ end ``` :::warning - Ensure array items are strings, not symbols. + Ensure the array items are strings, not symbols. ::: This will make Avo add this new "Filters" button to the view of your resource.