ERROR: Invalid assignment target when using a type in ref
I am attempting to use drizzle orm and I have a table and models that look like
In a component for a form for
I get the error:
I have tried using
the same error occurs.
In a component for a form for
NewAccount I have const form = ref<NewAccount>(); and when I try to map that using v-model in the html of the page like below.I get the error:
I have tried using
reactive and make things work but no matter what I do it doesn't work. Even if I take the drizzle orm out of it likethe same error occurs.