mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Remove field.meta.required property
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -304,7 +304,6 @@ export default defineComponent({
|
||||
type: 'string',
|
||||
meta: {
|
||||
width: 'full',
|
||||
required: true,
|
||||
options: {
|
||||
choices: [
|
||||
{
|
||||
|
||||
@@ -27,7 +27,6 @@ const fakeFilesField: Field = {
|
||||
display_options: null,
|
||||
hidden: false,
|
||||
locked: true,
|
||||
required: false,
|
||||
translations: null,
|
||||
readonly: true,
|
||||
width: 'full',
|
||||
|
||||
@@ -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[];
|
||||
|
||||
Reference in New Issue
Block a user