fix: allow Decimal values; closes #47

This commit is contained in:
pskfyi 2022-01-09 23:12:41 -08:00 committed by pskfyi
parent 724aaaf663
commit 29d2120184
1 changed files with 3 additions and 1 deletions

View File

@ -26,12 +26,14 @@
</template>
<script>
import Decimal from 'break_infinity.js'
export default {
props: {
label: { type: String, required: true },
description: { type: String, default: null },
max: { type: Number, required: true },
value: { type: Number, required: true },
value: { type: [Number, Decimal], required: true },
unit: { type: String, default: null },
},
computed: {