Merge pull request #758 from nickrum/status-required-improvement

Remove outdated required field property
This commit is contained in:
Rijk van Zanten
2020-10-22 19:56:02 +02:00
committed by GitHub
5 changed files with 10 additions and 9 deletions

View File

@@ -135,15 +135,18 @@ fields:
- field: key
name: Key
type: string
schema:
is_nullable: false
meta:
interface: slug
options:
onlyOnCreate: false
required: true
width: half
- field: fit
name: Fit
type: string
schema:
is_nullable: false
meta:
interface: dropdown
options:
@@ -152,34 +155,35 @@ fields:
text: Contain (preserve aspect ratio)
- value: cover
text: Cover (forces exact size)
required: true
width: half
- field: width
name: Width
type: integer
schema:
is_nullable: false
meta:
interface: numeric
required: true
width: half
- field: height
name: Height
type: integer
schema:
is_nullable: false
meta:
interface: numeric
required: true
width: half
- field: quality
type: integer
name: Quality
schema:
default_value: 80
is_nullable: false
meta:
interface: slider
options:
max: 100
min: 0
step: 1
required: true
width: full
template: '{{key}}'
special: json

View File

@@ -26,7 +26,6 @@ export type FieldMeta = {
interface: string | null;
options: Record<string, any> | null;
locked: boolean;
required: boolean;
readonly: boolean;
hidden: boolean;
sort: number | null;