Remove field.meta.required property

This commit is contained in:
Nicola Krumschmidt
2020-10-22 18:52:45 +02:00
parent 151df2b63c
commit 3052b850ef
5 changed files with 0 additions and 9 deletions

View File

@@ -141,7 +141,6 @@ fields:
interface: slug
options:
onlyOnCreate: false
required: true
width: half
- field: fit
name: Fit
@@ -156,7 +155,6 @@ fields:
text: Contain (preserve aspect ratio)
- value: cover
text: Cover (forces exact size)
required: true
width: half
- field: width
name: Width
@@ -165,7 +163,6 @@ fields:
is_nullable: false
meta:
interface: numeric
required: true
width: half
- field: height
name: Height
@@ -174,7 +171,6 @@ fields:
is_nullable: false
meta:
interface: numeric
required: true
width: half
- field: quality
type: integer
@@ -188,7 +184,6 @@ fields:
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;

View File

@@ -304,7 +304,6 @@ export default defineComponent({
type: 'string',
meta: {
width: 'full',
required: true,
options: {
choices: [
{

View File

@@ -27,7 +27,6 @@ const fakeFilesField: Field = {
display_options: null,
hidden: false,
locked: true,
required: false,
translations: null,
readonly: true,
width: 'full',

View File

@@ -60,7 +60,6 @@ export type FieldMeta = {
options: null | Record<string, any>;
display_options: null | Record<string, any>;
readonly: boolean;
required: boolean;
sort: number | null;
special: string[] | null;
translations: null | Translations[];