fix: allow Decimal values; closes #47
This commit is contained in:
parent
724aaaf663
commit
29d2120184
|
@ -26,12 +26,14 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import Decimal from 'break_infinity.js'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
props: {
|
props: {
|
||||||
label: { type: String, required: true },
|
label: { type: String, required: true },
|
||||||
description: { type: String, default: null },
|
description: { type: String, default: null },
|
||||||
max: { type: Number, required: true },
|
max: { type: Number, required: true },
|
||||||
value: { type: Number, required: true },
|
value: { type: [Number, Decimal], required: true },
|
||||||
unit: { type: String, default: null },
|
unit: { type: String, default: null },
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|
Reference in New Issue