From e09edd554f65f00d7fb57b84f89e71123d1fa981 Mon Sep 17 00:00:00 2001 From: Tom Rutgers Date: Thu, 24 Oct 2019 10:49:11 +0200 Subject: [PATCH] Update widgets.md (#2758) Using double quotes with pattern raises an error (found out the hard way): https://github.com/netlify/netlify-cms/issues/675#issuecomment-444316681 --- website/content/docs/widgets.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/content/docs/widgets.md b/website/content/docs/widgets.md index 62b1df02..4a3f5814 100644 --- a/website/content/docs/widgets.md +++ b/website/content/docs/widgets.md @@ -23,7 +23,7 @@ The following options are available on all fields: - label: "Title" name: "title" widget: "string" - pattern: [".{12,}", "Must have at least 12 characters"] + pattern: ['.{12,}', "Must have at least 12 characters"] ``` ## Default widgets