[Vuejs]-Setting value to a computed value

0👍

You need to v-model the computed property with the FormulateInput instead of one way binding the value. Here codesandbox

<FormulateInput
                name="lmp_mcp_difference"
                type="number"
                v-model="days_difference"
                label="Difference of days between LMP and Registration Date"
              />

For updating the values property you need to assign the values as it has lost reactivity from the vue instance.Updated codesandbox

Leave a comment