mirror of
https://github.com/strapi/strapi.git
synced 2025-12-28 07:33:17 +00:00
Merge branch 'master' into fix/json-array-pg
This commit is contained in:
commit
09a227c3d8
@ -45,12 +45,12 @@ const createSettingsSchema = (model, schema) => {
|
||||
// should be reset when the type changes
|
||||
mainField: yup
|
||||
.string()
|
||||
.oneOf(validAttributes)
|
||||
.oneOf(validAttributes.concat('id'))
|
||||
.default('id'),
|
||||
// should be reset when the type changes
|
||||
defaultSortBy: yup
|
||||
.string()
|
||||
.oneOf(validAttributes)
|
||||
.oneOf(validAttributes.concat('id'))
|
||||
.default('id'),
|
||||
defaultSortOrder: yup
|
||||
.string()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user