Skip to content

vuefire declaritive two way binding #60

@BentleyDavis

Description

@BentleyDavis

This is excellent code.

I plan on using this in the future and I am hoping to not have to simplify the use.

Before I start, I wanted to make sure that it really isn't there or that I am not understanding a technical limitation or philosophy of Vue. In the todo example https://jsfiddle.net/posva/wtyop5jy/ it would be nice if instead of
<input :value="todo.text" @input="updateTodoText(todo, $event.target.value)"> we could do <input v-model="todo.text" "> and the changes would be persisted back to the Firebase database. Is this impossible or just difficult?

Thank you,
Bentley

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions