Fixed proficiency calculations

This commit is contained in:
Thaum Rystra
2020-04-27 13:56:04 +02:00
parent 17c9d270e6
commit 528e53fc9b
6 changed files with 28 additions and 8 deletions

View File

@@ -20,6 +20,7 @@
<proficiency-select
label="Proficiency"
style="flex-basis: 300px;"
:clearable="false"
:value="model.value"
@change="(value, ack) => $emit('change', {path: ['value'], value, ack})"
/>
@@ -35,10 +36,18 @@
ProficiencySelect,
},
props: {
model: {
model: {
type: Object,
default: () => ({}),
},
errors: {
type: Object,
default: () => ({}),
},
debounceTime: {
type: Number,
default: undefined,
},
stats: {
type: Array,
default: () => [],

View File

@@ -1,7 +1,7 @@
<template lang="html">
<smart-select
append-icon="arrow_drop_down"
clearable
:clearable="clearable"
class="ml-3"
v-bind="$attrs"
:menu-props="{transition: 'slide-y-transition', lazy: true}"
@@ -38,6 +38,10 @@
value: {
type: Number,
default: undefined,
},
clearable: {
type: Boolean,
default: true,
},
},
data(){ return {