Form isDirty always false after setting defaults #2109
Open
Description
Versions:
@inertiajs/vue3
version: 1.0.14
Describe the problem:
IsDirty remains false after pushing values to an array.
Steps to reproduce:
Set up a form:
const form = useForm({
foo: []
})
Set the values as default:
form.defaults()
Push to the array:
console.log('before push', form.isDirty) // false
form.foo.push(1)
console.log('after push', form.isDirty) // false?
Metadata
Assignees
Labels
No labels