mirror of
https://github.com/directus/directus.git
synced 2026-01-24 16:28:10 -05:00
Merge pull request #758 from nickrum/status-required-improvement
Remove outdated required field property
This commit is contained in:
@@ -304,7 +304,6 @@ export default defineComponent({
|
||||
type: 'string',
|
||||
meta: {
|
||||
width: 'full',
|
||||
required: true,
|
||||
options: {
|
||||
choices: [
|
||||
{
|
||||
@@ -342,6 +341,7 @@ export default defineComponent({
|
||||
},
|
||||
schema: {
|
||||
default_value: 'draft',
|
||||
is_nullable: false,
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
@@ -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