vuetify.js

vue.js vuetify test-utils warning : Vue warn]: Invalid prop: type check failed for prop “src”. Expected String, got Object

为君一笑 提交于 2020-12-15 05:19:07
问题 Using v-parallax vuetify with a prop to display an asset URL (it's a recommended hack..) <v-parallax :src="parallaxUrl()"> methods: { parallaxUrl() { return require("@/assets/images/hero.jpeg"); }, I get the image displayed correctly, BUT running test:unit , I aslo get a warning , as the v-parallax require a string and not an object... The test pass correctly ( it's only a warning..) , however is there a way to get rid of this warning ? thanks for feedback 回答1: When you require an file, it

Make vuetify app bar items align with <v-container> body content

纵然是瞬间 提交于 2020-12-15 05:14:44
问题 The stock app bar component aligns items hard left, and if using the v-spacer component will the push items to the hard right. I have tried wrapping the button items with v-container inside the v-app-bar but it breaks the layout once other components are added. Ideally, the button on the left would align with hello and likewise with the buttons on the right, they should align with the right side of the v-container of the body. I tried wrapping v-app-bar with v-container : This is essentially

Show mutiple v-dialog boxes with different content in vue.js

主宰稳场 提交于 2020-12-15 04:35:41
问题 Hii I am working on the Vue.js template and I stuck at a point where I need to show dynamic v-dialog using looping statement but now it shows all. Dom: <template v-for="item of faq"> <div :key="item.category"> <h4>{{ item.heading }}</h4> <div v-for="subitems of item.content" :key="subitems.qus"> <v-dialog v-model="dialog" width="500" > <template v-slot:activator="{on}"> <a href="#" v-on="on">{{subitems.qus}}</a> </template> <v-card> <v-card-title class="headline grey lighten-2" primary-title

Show mutiple v-dialog boxes with different content in vue.js

落花浮王杯 提交于 2020-12-15 04:35:08
问题 Hii I am working on the Vue.js template and I stuck at a point where I need to show dynamic v-dialog using looping statement but now it shows all. Dom: <template v-for="item of faq"> <div :key="item.category"> <h4>{{ item.heading }}</h4> <div v-for="subitems of item.content" :key="subitems.qus"> <v-dialog v-model="dialog" width="500" > <template v-slot:activator="{on}"> <a href="#" v-on="on">{{subitems.qus}}</a> </template> <v-card> <v-card-title class="headline grey lighten-2" primary-title

Vuetify multiple v-select required rules don't work

六眼飞鱼酱① 提交于 2020-12-13 04:45:17
问题 Steps to reproduce: If its multiple select required rules don't work if its not a multiple its ok. Expected Behavior rules to work for multiple select as well Actual Behavior rules don't work if its multiple select Reproduction code : <div id="app"> <v-app id="inspire"> <v-select :items="role" label="Admin level*" class="mt-3 " @focus="reset" item-text="name" item-value="name" v-model="roleee" required :rules="rules.select" ></v-select> <v-select :items="subsidiaries" label="Subsidiary*"

How to remove the Vuetify append-icon from the sequential keyboard navigation

落花浮王杯 提交于 2020-12-12 03:58:20
问题 In a Vue.js app with Vuetify, I have a set of password fields defined with a v-text-field and which have an append-icon in order to switch the text visibility, as follows: <v-text-field v-model="password" :append-icon="show1 ? 'mdi-eye' : 'mdi-eye-off'" :type="show1 ? 'text' : 'password'" @click:append="show1 = !show1" ></v-text-field> It is exactly similar to the documentation example for password input (See also the corresponding codepen). With this set-up, if a user uses the Tab key to

Tinymce insert/edit image fields on pop up are not editable(focused) inside vuetify's dialog

删除回忆录丶 提交于 2020-12-10 08:45:28
问题 I am aware with the tweaks required for enabling focus inside the tinymce pop up when in bootstrap modal. But currently I am working with a vuetify dialog. Which does'nt seem to focus the pop up fields of tinymce. I have gone through this question but it does not work in context to vuetify TinyMCE 4 links plugin modal in not editable Below is my code I have removed some methods just for clean up and have kept basic things that I have tried in mounted event & editor init. <no-ssr placeholder=

Can't bind v-on:click on Vuetify [Vue warn]: Error in v-on handler: “TypeError: handler.apply is not a function”

与世无争的帅哥 提交于 2020-12-09 09:56:10
问题 I am trying to bind a click event on dynamically generated subheader v-list-tile Vuetify https://vuetifyjs.com/en/components/subheaders but each time I click the option an error appears. vue.js:634 [Vue warn]: Error in v-on handler: "TypeError: handler.apply is not a function" found in ---> <VListTile> <VList> <VCard> <VApp> <Root> I have tried adding the methods forcibly (without passing object) and it works. It just triggers when it is passed to an object and dynamically rendered. Here is a

Can't bind v-on:click on Vuetify [Vue warn]: Error in v-on handler: “TypeError: handler.apply is not a function”

孤街醉人 提交于 2020-12-09 09:54:58
问题 I am trying to bind a click event on dynamically generated subheader v-list-tile Vuetify https://vuetifyjs.com/en/components/subheaders but each time I click the option an error appears. vue.js:634 [Vue warn]: Error in v-on handler: "TypeError: handler.apply is not a function" found in ---> <VListTile> <VList> <VCard> <VApp> <Root> I have tried adding the methods forcibly (without passing object) and it works. It just triggers when it is passed to an object and dynamically rendered. Here is a

Can't bind v-on:click on Vuetify [Vue warn]: Error in v-on handler: “TypeError: handler.apply is not a function”

倖福魔咒の 提交于 2020-12-09 09:53:37
问题 I am trying to bind a click event on dynamically generated subheader v-list-tile Vuetify https://vuetifyjs.com/en/components/subheaders but each time I click the option an error appears. vue.js:634 [Vue warn]: Error in v-on handler: "TypeError: handler.apply is not a function" found in ---> <VListTile> <VList> <VCard> <VApp> <Root> I have tried adding the methods forcibly (without passing object) and it works. It just triggers when it is passed to an object and dynamically rendered. Here is a