Great explanation, really appreciate the effort you put into creating vue-uform. I’m curious, how does f-model handle more complex input components like multi-selects or custom UI library components?
Why did I create vue-uform
tu6ge
posted
2 min read
0 Comments
tu6ge
•
f-model support multi-selects and custom UI library components,
this is an example of multi-select:
<template>
<select :value="value" @change="update($event.target.value)">
<option disabled value="">Please select one</option>
<option>A</option>
<option>B</option>
<option>C</option>
</select>
</template>
this is an example of some UI libraray:
<template>
<!-- Naive UI -->
<n-input f-model:value></n-input>
<!-- Element Plus UI -->
<el-input f-model></el-input>
<!-- Antd UI -->
<a-input f-model:value></a-input>
<!-- Vuetify UI -->
<v-text-field label="Text" f-model></v-text-field>
<!-- Vant UI -->
<van-field f-model></van-field>
</template>
Please log in to add a comment.
Please log in to comment on this post.
More Posts
chevron_left