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
This commit is contained in:
Tom Rutgers 2019-10-24 10:49:11 +02:00 committed by Erez Rokah
parent 68dd995d97
commit e09edd554f

View File

@ -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