diff --git a/website/site/content/docs/widgets/relation.md b/website/site/content/docs/widgets/relation.md index c8b363fd..97eb024e 100644 --- a/website/site/content/docs/widgets/relation.md +++ b/website/site/content/docs/widgets/relation.md @@ -23,7 +23,7 @@ The relation widget allows you to reference items from another collection. It pr name: "author" widget: "relation" collection: "authors" - searchFields: "[name, twitterHandle]" + searchFields: ["name", "twitterHandle"] valueField: "name" ``` The generated UI input will search the authors collection by name and twitterHandle as the user types. On selection, the author name will be saved for the field.