fix: allow Decimal values; closes #47
This commit is contained in:
parent
724aaaf663
commit
29d2120184
|
@ -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: {
|
||||
|
|
Reference in New Issue