Added slotFillerCondition field to class levels, same as in slot filler

This commit is contained in:
Stefan Zermatten
2022-03-03 16:19:54 +02:00
parent 43e956eb6a
commit 92a588bfcc
5 changed files with 25 additions and 6 deletions

View File

@@ -27,6 +27,15 @@
@change="change('variableName', ...arguments)"
/>
</div>
<text-field
v-if="context.isLibraryForm"
label="Condition"
hint="A caclulation to determine if this can be added to the character"
placeholder="Always active"
:value="model.slotFillerCondition"
:error-messages="errors.slotFillerCondition"
@change="change('slotFillerCondition', ...arguments)"
/>
<inline-computation-field
label="Description"
@@ -54,6 +63,9 @@
export default {
mixins: [propertyFormMixin],
inject: {
context: { default: {} }
},
};
</script>