Add multi value toggle to module edit field row
This commit is contained in:
parent
6401afce36
commit
771af663f0
@ -79,6 +79,18 @@
|
||||
switch
|
||||
/>
|
||||
</td>
|
||||
|
||||
<td
|
||||
class="align-middle text-center"
|
||||
>
|
||||
<b-form-checkbox
|
||||
v-model="value.isMulti"
|
||||
:disabled="!value.cap.multi"
|
||||
switch
|
||||
class="ml-2"
|
||||
/>
|
||||
</td>
|
||||
|
||||
<td
|
||||
class="text-right align-middle pr-2"
|
||||
style="min-width: 100px;"
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
v-model="field.isMulti"
|
||||
:disabled="!field.cap.multi"
|
||||
>
|
||||
{{ $t('general:label.multi') }}
|
||||
{{ $t('label.multi') }}
|
||||
</b-form-checkbox>
|
||||
|
||||
<b-form-checkbox
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
>
|
||||
<b-tab
|
||||
active
|
||||
:title="$t('label.general')"
|
||||
:title="$t('general:label.general')"
|
||||
>
|
||||
<basic
|
||||
:namespace="namespace"
|
||||
@ -18,7 +18,7 @@
|
||||
|
||||
<b-tab
|
||||
v-if="fieldComponent"
|
||||
:title="$t(`fieldKinds.${field.kind}.label`)"
|
||||
:title="$t(`general:fieldKinds.${field.kind}.label`)"
|
||||
>
|
||||
<component
|
||||
:is="fieldComponent"
|
||||
@ -40,7 +40,7 @@
|
||||
</b-tab>
|
||||
|
||||
<b-tab
|
||||
:title="$t('label.validation')"
|
||||
:title="$t('general:label.validation')"
|
||||
>
|
||||
<validation
|
||||
:namespace="namespace"
|
||||
@ -50,7 +50,7 @@
|
||||
</b-tab>
|
||||
|
||||
<b-tab
|
||||
:title="$t('label.privacy')"
|
||||
:title="$t('general:label.privacy')"
|
||||
>
|
||||
<data-privacy-settings
|
||||
v-if="connection"
|
||||
@ -60,11 +60,11 @@
|
||||
:max-level="maxLevelID"
|
||||
:translations="{
|
||||
sensitivity: {
|
||||
label: $t('field:privacy.sensitivity-level.label'),
|
||||
placeholder: $t('field:privacy.sensitivity-level.placeholder'),
|
||||
label: $t('privacy.sensitivity-level.label'),
|
||||
placeholder: $t('privacy.sensitivity-level.placeholder'),
|
||||
},
|
||||
usage: {
|
||||
label: $t('field:privacy.usage-disclosure.label'),
|
||||
label: $t('privacy.usage-disclosure.label'),
|
||||
},
|
||||
}"
|
||||
/>
|
||||
@ -82,7 +82,7 @@ import DataPrivacySettings from 'corteza-webapp-compose/src/components/Admin/Mod
|
||||
|
||||
export default {
|
||||
i18nOptions: {
|
||||
namespaces: 'general',
|
||||
namespaces: 'field',
|
||||
},
|
||||
|
||||
components: {
|
||||
|
||||
@ -274,10 +274,14 @@
|
||||
<th />
|
||||
<th />
|
||||
|
||||
<th class="text-primary text-center">
|
||||
<th class="text-primary text-center pr-3">
|
||||
{{ $t('general:label.required') }}
|
||||
</th>
|
||||
|
||||
<th class="text-primary text-center pl-2">
|
||||
{{ $t('general:label.multi') }}
|
||||
</th>
|
||||
|
||||
<th />
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
@ -40,7 +40,7 @@ label:
|
||||
makeDefault: Make default
|
||||
module: Module
|
||||
moduleName: Module name
|
||||
multi: Multi value
|
||||
multi: Multi
|
||||
name: Name
|
||||
next: Next
|
||||
no: No
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user