July 10, 2023, 4:30 p.m. | Pugsworth

DEV Community dev.to

I'm trying to learn about Vue and see if it's a worthwhile system to use.

I'm exclusively ignoring the Options API and using the Component API.


When I try to use v-model="object.property", I get warnings in the console about "invalid prop" and the text value on the html is "[object Object]". This makes no sense to me as I'm still just using a ref().


What is happening?


If I change it to "object.property.value", it appears to work just fine. Is …

api beginners html learn property sense text value vue

Data Engineer

@ Lemon.io | Remote: Europe, LATAM, Canada, UK, Asia, Oceania

Artificial Intelligence – Bioinformatic Expert

@ University of Texas Medical Branch | Galveston, TX

Lead Developer (AI)

@ Cere Network | San Francisco, US

Research Engineer

@ Allora Labs | Remote

Ecosystem Manager

@ Allora Labs | Remote

Founding AI Engineer, Agents

@ Occam AI | New York