October 2019
Intermediate to advanced
108 pages
2h 24m
English
What good is any form if we can't use the data that the user inputs? As cool as it is that we can generate these forms dynamically based entirely on a schema, we still need to be able to store these values somehow so that we can later process them as we need. The first step for our form to be able to create two-way bindings is to tell Renderer.vue how to handle input events from the dynamic components.
Follow these steps:
<component :is="component" v-bind="props" :value="value" @input="handleComponentInput" />
Remember that, in order to v-model or two-way bind into a custom component, we usually need ...
Read now
Unlock full access