Fixed some error text not showing in create dialog
This commit is contained in:
@@ -79,7 +79,7 @@
|
||||
label="Summary"
|
||||
hint="This will appear in the action card in the character sheet, summarize what the action does"
|
||||
:model="model.summary"
|
||||
:error-messages="errors.summary"
|
||||
:error-messages="errors['summary.text']"
|
||||
@change="({path, value, ack}) =>
|
||||
$emit('change', {path: ['summary', ...path], value, ack})"
|
||||
/>
|
||||
@@ -88,7 +88,7 @@
|
||||
label="Description"
|
||||
hint="This text will be displayed in the log when the action is taken"
|
||||
:model="model.description"
|
||||
:error-messages="errors.description"
|
||||
:error-messages="errors['description.text']"
|
||||
@change="({path, value, ack}) =>
|
||||
$emit('change', {path: ['description', ...path], value, ack})"
|
||||
/>
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
<inline-computation-field
|
||||
label="Description"
|
||||
:model="model.description"
|
||||
:error-messages="errors.description"
|
||||
:error-messages="errors['description.text']"
|
||||
@change="({path, value, ack}) =>
|
||||
$emit('change', {path: ['description', ...path], value, ack})"
|
||||
/>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<inline-computation-field
|
||||
label="Description"
|
||||
:model="model.description"
|
||||
:error-messages="errors.description"
|
||||
:error-messages="errors['description.text']"
|
||||
@change="({path, value, ack}) =>
|
||||
$emit('change', {path: ['description', ...path], value, ack})"
|
||||
/>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<inline-computation-field
|
||||
label="Description"
|
||||
:model="model.description"
|
||||
:error-messages="errors.description"
|
||||
:error-messages="errors['description.text']"
|
||||
@change="({path, value, ack}) =>
|
||||
$emit('change', {path: ['description', ...path], value, ack})"
|
||||
/>
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
label="Description"
|
||||
hint="A brief description of what this class level gives a character"
|
||||
:model="model.description"
|
||||
:error-messages="errors.description"
|
||||
:error-messages="errors['description.text']"
|
||||
@change="({path, value, ack}) =>
|
||||
$emit('change', {path: ['description', ...path], value, ack})"
|
||||
/>
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
class="mt-4"
|
||||
label="Description"
|
||||
:model="model.description"
|
||||
:error-messages="errors.description"
|
||||
:error-messages="errors['description.text']"
|
||||
@change="({path, value, ack}) =>
|
||||
$emit('change', {path: ['description', ...path], value, ack})"
|
||||
/>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
label="Summary"
|
||||
hint="This will appear in the feature card in the character sheet"
|
||||
:model="model.summary"
|
||||
:error-messages="errors.summary"
|
||||
:error-messages="errors['summary.text']"
|
||||
@change="({path, value, ack}) =>
|
||||
$emit('change', {path: ['summary', ...path], value, ack})"
|
||||
/>
|
||||
@@ -13,7 +13,7 @@
|
||||
label="Description"
|
||||
hint="The rest of the description that doesn't fit in the summary goes here"
|
||||
:model="model.description"
|
||||
:error-messages="errors.description"
|
||||
:error-messages="errors['description.text']"
|
||||
@change="({path, value, ack}) =>
|
||||
$emit('change', {path: ['description', ...path], value, ack})"
|
||||
/>
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
<inline-computation-field
|
||||
label="Description"
|
||||
:model="model.description"
|
||||
:error-messages="errors.description"
|
||||
:error-messages="errors['description.text']"
|
||||
@change="({path, value, ack}) =>
|
||||
$emit('change', {path: ['description', ...path], value, ack})"
|
||||
/>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
label="Summary"
|
||||
hint="This will appear in the card in the character sheet"
|
||||
:model="model.summary"
|
||||
:error-messages="errors.summary"
|
||||
:error-messages="errors['summary.text']"
|
||||
@change="({path, value, ack}) =>
|
||||
$emit('change', {path: ['summary', ...path], value, ack})"
|
||||
/>
|
||||
@@ -13,7 +13,7 @@
|
||||
label="Description"
|
||||
hint="Text that does not fit in the summary"
|
||||
:model="model.description"
|
||||
:error-messages="errors.description"
|
||||
:error-messages="errors['description.text']"
|
||||
@change="({path, value, ack}) =>
|
||||
$emit('change', {path: ['description', ...path], value, ack})"
|
||||
/>
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
<inline-computation-field
|
||||
label="Description"
|
||||
:model="model.description"
|
||||
:error-messages="errors.description"
|
||||
:error-messages="errors['description.text']"
|
||||
@change="({path, value, ack}) =>
|
||||
$emit('change', {path: ['description', ...path], value, ack})"
|
||||
/>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<text-area
|
||||
label="Description"
|
||||
:value="model.description"
|
||||
:error-messages="errors.description"
|
||||
:error-messages="errors['description.text']"
|
||||
@change="change('description', ...arguments)"
|
||||
/>
|
||||
<form-sections
|
||||
|
||||
@@ -100,7 +100,7 @@
|
||||
<inline-computation-field
|
||||
label="Description"
|
||||
:model="model.description"
|
||||
:error-messages="errors.description"
|
||||
:error-messages="errors['description.text']"
|
||||
@change="({path, value, ack}) =>
|
||||
$emit('change', {path: ['description', ...path], value, ack})"
|
||||
/>
|
||||
|
||||
@@ -220,14 +220,14 @@
|
||||
label="Summary"
|
||||
hint="This will appear in the action card in the character sheet, summarise what the action does"
|
||||
:model="model.summary"
|
||||
:error-messages="errors.summary"
|
||||
:error-messages="errors['summary.text']"
|
||||
@change="({path, value, ack}) =>
|
||||
$emit('change', {path: ['summary', ...path], value, ack})"
|
||||
/>
|
||||
<inline-computation-field
|
||||
label="Description"
|
||||
:model="model.description"
|
||||
:error-messages="errors.description"
|
||||
:error-messages="errors['description.text']"
|
||||
@change="({path, value, ack}) =>
|
||||
$emit('change', {path: ['description', ...path], value, ack})"
|
||||
/>
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
<inline-computation-field
|
||||
label="Description"
|
||||
:model="model.description"
|
||||
:error-messages="errors.description"
|
||||
:error-messages="errors['description.text']"
|
||||
@change="({path, value, ack}) =>
|
||||
$emit('change', {path: ['description', ...path], value, ack})"
|
||||
/>
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
label="Description"
|
||||
hint="The rest of the description that doesn't fit in the summary goes here"
|
||||
:model="model.description"
|
||||
:error-messages="errors.description"
|
||||
:error-messages="errors['description.text']"
|
||||
@change="({path, value, ack}) =>
|
||||
$emit('change', {path: ['description', ...path], value, ack})"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user