chore: improve number widget tests (#2223)
This commit is contained in:
committed by
Shawn Erquhart
parent
2d59602660
commit
19824fd1dd
@ -60,7 +60,13 @@ collections: # A list of collections the CMS should be able to edit
|
||||
name: posts
|
||||
widget: 'object'
|
||||
fields:
|
||||
- { label: 'Number of posts on frontpage', name: front_limit, widget: number }
|
||||
- {
|
||||
label: 'Number of posts on frontpage',
|
||||
name: front_limit,
|
||||
widget: number,
|
||||
min: 1,
|
||||
max: 10,
|
||||
}
|
||||
- { label: 'Default Author', name: author, widget: string }
|
||||
- { label: 'Default Thumbnail', name: thumb, widget: image, class: 'thumb', required: false }
|
||||
|
||||
|
Reference in New Issue
Block a user