Rename required->allow null

This commit is contained in:
rijkvanzanten
2021-04-27 17:21:47 -04:00
parent 40719cbbed
commit 81f488fc8e
2 changed files with 7 additions and 5 deletions

View File

@@ -130,11 +130,11 @@
</div>
<div class="field half-left" v-if="fieldData.schema">
<div class="label type-label">{{ $t('required') }}</div>
<div class="label type-label">{{ $t('nullable') }}</div>
<v-checkbox
:input-value="fieldData.schema.is_nullable === false"
@change="fieldData.schema.is_nullable = !$event"
:label="$t('requires_value')"
:input-value="fieldData.schema.is_nullable"
@change="fieldData.schema.is_nullable = $event"
:label="$t('allow_null_value')"
block
/>
</div>