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:
parent
68dd995d97
commit
e09edd554f
@ -23,7 +23,7 @@ The following options are available on all fields:
|
|||||||
- label: "Title"
|
- label: "Title"
|
||||||
name: "title"
|
name: "title"
|
||||||
widget: "string"
|
widget: "string"
|
||||||
pattern: [".{12,}", "Must have at least 12 characters"]
|
pattern: ['.{12,}', "Must have at least 12 characters"]
|
||||||
```
|
```
|
||||||
|
|
||||||
## Default widgets
|
## Default widgets
|
||||||
|
Loading…
x
Reference in New Issue
Block a user