I have a component like this:
<script>
export default {
  name: "Thing",
  props: {
    min: Number,
    value: Number
  } ...
-
<template>
...
<input type="number" v-bind:min=min/10  step="0.1" v-model = value aria-hidden="true" />
...
</template>
I generally use millimeters, while I want to display things in centimeter. So for example this component will be initialized with value = 50 (50mm), but I want the input to display 5 (5cm).
How can I change "value" in the component to be value/10 upon initialization? Also I need to pass some tests , so something like "Just do value/10 in the parent before initializing the component" wont work Im afraid.
