mirror of
https://github.com/directus/directus.git
synced 2026-02-01 22:55:11 -05:00
Fix sort field not nullable (#4747)
* make input nullable * remove nullable
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
<template>
|
||||
<div>
|
||||
|
||||
<div class="grid">
|
||||
<div class="field">
|
||||
<div class="type-label">{{ $t('this_collection') }}</div>
|
||||
@@ -196,7 +195,6 @@
|
||||
<v-input
|
||||
:class="{ matches: junctionFieldExists(relations[0].sort_field) }"
|
||||
v-model="relations[0].sort_field"
|
||||
:nullable="false"
|
||||
:placeholder="$t('add_sort_field') + '...'"
|
||||
db-safe
|
||||
>
|
||||
@@ -406,8 +404,8 @@ export default defineComponent({
|
||||
}
|
||||
|
||||
.related-collections-preview {
|
||||
grid-column: 3;
|
||||
grid-row: 2 / span 2;
|
||||
grid-column: 3;
|
||||
padding: var(--input-padding);
|
||||
overflow: auto;
|
||||
color: var(--foreground-subdued);
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
<template>
|
||||
<div>
|
||||
|
||||
<div class="grid">
|
||||
<div class="field">
|
||||
<div class="type-label">{{ $t('this_collection') }}</div>
|
||||
@@ -224,7 +223,6 @@
|
||||
<v-input
|
||||
:class="{ matches: junctionFieldExists(relations[0].sort_field) }"
|
||||
v-model="relations[0].sort_field"
|
||||
:nullable="false"
|
||||
:placeholder="$t('add_sort_field') + '...'"
|
||||
db-safe
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user