Fixed a bug with proficiency forms not editing proficiency correctly
This commit is contained in:
@@ -38,7 +38,6 @@ let EffectSchema = new SimpleSchema({
|
||||
},
|
||||
'stats.$': {
|
||||
type: String,
|
||||
optional: true,
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@ let ProficiencySchema = new SimpleSchema({
|
||||
},
|
||||
'stats.$': {
|
||||
type: String,
|
||||
optional: true,
|
||||
},
|
||||
// A number representing how proficient the character is
|
||||
value: {
|
||||
|
||||
@@ -9,9 +9,11 @@
|
||||
/>
|
||||
<div class="layout row wrap justify-start proficiency-form">
|
||||
<smart-combobox
|
||||
label="Skill"
|
||||
label="Skills"
|
||||
class="mr-2"
|
||||
multiple
|
||||
chips
|
||||
deletable-chips
|
||||
:value="model.stats"
|
||||
:items="skillList"
|
||||
:error-messages="errors.stats"
|
||||
@@ -22,7 +24,7 @@
|
||||
style="flex-basis: 300px;"
|
||||
:clearable="false"
|
||||
:value="model.value"
|
||||
@change="change('stats', ...arguments)"
|
||||
@change="change('value', ...arguments)"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user