Comments (11)
I have tested this scheme and it works properly in a test. The error 'unknown custom element' may indicate that your Vuetify element 'v-select' is not correctly initialized.
Does a simple scheme work using 'v-select'?
from vuetify-form-base.
Hi! I had the same problem (
When i try to di something like this
"priority": { "type": "combobox", "items": [], "multiple": true, "label": "Priority" },
I got the same error
"vuetify": "2.3.4",
"vuetify-form-base": "0.1.22",
from vuetify-form-base.
"vuetify": "2.3.4",
"vuetify-form-base": "0.1.22",
You could try selection.vue from example. You can check your enviroment, by using this tested and working sample
from vuetify-form-base.
same problem here, following the selection example, using
"vuetify": "2.3.4",
"vuetify-form-base": "^0.1.22",
In nuxt:
"nuxt": "^2.13.0",
"@nuxtjs/vuetify": "^1.11.2",
from vuetify-form-base.
If you are using Nuxt I think this is the solution: #2
from vuetify-form-base.
If you are using Nuxt I think this is the solution: #2
This is not a solution to my problem. I do not use Nuxt.
Issue still reproduce with Vue + Vuetify
from vuetify-form-base.
@issasami But did you tried at least?
Directly importing the components in the Vue App
`import Vuetify, { VLayout, VCheckbox, VSelect } from "vuetify/lib";
Vue.use(Vuetify, {
components: { VLayout, VCheckbox, VSelect },
});`
The nuxt solution was to include it in a plugin but it should work directly in the Vue app where you initialize the app.
from vuetify-form-base.
@jorgv Yes. Works with direct import.
But as I understand it this is not how it should work
from vuetify-form-base.
from vuetify-form-base.
I still can't get it to work ... but, I did figure out something that might put someone else (maybe even a future version of me) on the right track:
First, I'm running a project built from vue-cli built with:
vue create [project-name]
vue add vuetify
Now ... setting vuetify-form-base aside, I just entered:
<component :is="'v-select'" />
and I got the same error: Unknown custom element: <v-select> ...
Note: now I'm just thinking "out loud" through my keyboard because maybe it'll trigger an idea for me or someone else.
So, now I think this isn't a problem with vuetify-form-base but, rather, a bug in Vue itself. If it's a Vue bug, then why does the example code work?
It looks like the example didn't install Vuetify with vue add vuetify
... it looks like vuetify was installed manually in the example. So ... maybe it's a bug in how vue add ...
installs the plugin.
I just ran the following:
vue create --default component-test
In App.vue, I added <component :is="'v-select'" />
and I got the same error. That leads me to believe it is a bug with Vue, so I'll go mention it there, but, given this info, I'm completely baffled as to why the example works. Any thoughts, @wotamann ?
from vuetify-form-base.
@mcasto See #2, the last comment explain how to fix the "Unknown custom element" issue, just replace "{ VLayout, VCheckbox, VSelect }" by the components that are missing.
from vuetify-form-base.
Related Issues (20)
- Clearing date picker doesn't clear the model value
- Failed to resolve directive: click-outside HOT 2
- How can I wrap the inputs in my own element?
- Vue3 + Vuetify3 HOT 5
- Typescript support HOT 1
- Why package.json scripts is empty?
- v-form-base not rendered in production mode HOT 2
- `pattern` doesn't allow for regex flags HOT 1
- Feature Request: Can you please add a "Description" field made of append icon with tooltip?
- Using axios api calls
- Custom Component With Slots
- Problem with label string
- Which Json Schema Library shoud I choose? HOT 1
- Hidden groups in an array
- Object Bindings
- How to bind properties? HOT 1
- How to disable the default no-gutters?
- Checkbox returns NULL when it should return FALSE HOT 3
- How to use v-form-base in a v-for loop? HOT 2
- Cant Render custom components HOT 4
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 vuetify-form-base.