Comments (3)
Hi,
You always have to wrap the the components with the form component:
<fvl-form :data="form" url="/select">
<FvlSearchSelect :option-key="'id'" :option-value="'title'" :searchKeys="['id', 'title']" :name="'tags'" :options="[{title:'titulo1',id:15},{title:'titulo2',id:1}]"/>
</fvl-form>
Look at the example: https://github.com/janiskelemen/formvuelar/blob/master/src/examples/selects/SearchSelect.vue
from formvuelar.
ok thanks!!
from formvuelar.
Hi Janis,
How would you suggest making this work with subcomponents? I'm running into this issue and I don't want an fvl-form
component around my child-component (I don't want a form inside a form):
<template>
<fvl-form>
<fvl-input />
<child-component />
</fvl-form>
</template
ChildComponent.vue:
<template>
<fvl-input />
</template>
from formvuelar.
Related Issues (16)
- Headers HOT 13
- FvlSelect.vue HOT 2
- FvlForm.vue HOT 3
- Wrong Tailwind link inside the doc HOT 1
- Using @success / @error functions HOT 1
- @error response HOT 1
- [IDEA] @keydown
- Allow auto resize for FvlTextarea.vue HOT 1
- Use different axios instance? HOT 3
- Date Picker component not documented HOT 1
- cannot access the full document HOT 1
- Easy change of default teal color HOT 1
- How to use it with Nuxt HOT 1
- [QUESTION] - Is it possible to build form using JSON schema HOT 2
- [QUESTION]Will there be a migration to Vue3 in the future HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from formvuelar.