felte
felte copied to clipboard
How do I refer to values within `initialValues` to add a new dependent value?
Working with svelte-kit, and was wondering how do I refer to values within the object?
const { form } = createForm({
initialValues: {
a: 1,
b: 2,
c: a * b // this
},
})