vuetify.js

Vuetify input autocomplete bug

走远了吗. 提交于 2020-04-16 08:23:53
问题 I tried to google it a couple of times but got no luck, basically, when the page loads since the password is on autosave the v-text-field doesn't understand it and renders the passaword content in front of the label, is there any workaround or fix for that? Here is a ss: https://i.stack.imgur.com/RtemT.png The login component: <template> <div> <v-card class="elevation-12"> <v-toolbar color="primary" dark flat> <v-toolbar-title>Login</v-toolbar-title> </v-toolbar> <v-card-text> <v-form> <v

Vuetify input autocomplete bug

谁都会走 提交于 2020-04-16 08:23:26
问题 I tried to google it a couple of times but got no luck, basically, when the page loads since the password is on autosave the v-text-field doesn't understand it and renders the passaword content in front of the label, is there any workaround or fix for that? Here is a ss: https://i.stack.imgur.com/RtemT.png The login component: <template> <div> <v-card class="elevation-12"> <v-toolbar color="primary" dark flat> <v-toolbar-title>Login</v-toolbar-title> </v-toolbar> <v-card-text> <v-form> <v

Vuetify Align footer columns with table columns in data table

ⅰ亾dé卋堺 提交于 2020-04-16 02:52:22
问题 I have a datatable (vuetify 2.1.12) with slot="items" and slot="footer". In the footer I wan't to display the sum of some of the columns. The "problem" is that the columns in the footer are not at all in line with the columns in the table. basically I do this in the data table: <template v-slot:item="props"> <tr> <td>{{ props.item.qty }}</td> <td>{{ props.item.qtyBoughtToday }}</td> <td>{{ props.item.shortName }}</td> </tr> </template> <template slot="footer"> <tr> <td></td> <td>{{

Child and parent ripple triggered

牧云@^-^@ 提交于 2020-04-13 18:35:48
问题 I'm using vuetify to design a 'card' component. I have a parent div with a child button. Now, when I click the button, the ripple effect on the div is triggered. How can I fix this? <template> <div> <v-card v-ripple="true"> <h3> <v-card-title>{{ title }}</v-card-title> </h3> <v-layout row> <v-flex grow> <v-card-text> {{ plaats }} <br /> {{ sub_title }} </v-card-text> </v-flex> <v-flex shrink> <v-card-actions> <v-btn small color="blue" fab> <v-icon medium color="white">mdi-calendar</v-icon> <

Child and parent ripple triggered

巧了我就是萌 提交于 2020-04-13 18:35:25
问题 I'm using vuetify to design a 'card' component. I have a parent div with a child button. Now, when I click the button, the ripple effect on the div is triggered. How can I fix this? <template> <div> <v-card v-ripple="true"> <h3> <v-card-title>{{ title }}</v-card-title> </h3> <v-layout row> <v-flex grow> <v-card-text> {{ plaats }} <br /> {{ sub_title }} </v-card-text> </v-flex> <v-flex shrink> <v-card-actions> <v-btn small color="blue" fab> <v-icon medium color="white">mdi-calendar</v-icon> <

Child and parent ripple triggered

半腔热情 提交于 2020-04-13 18:34:26
问题 I'm using vuetify to design a 'card' component. I have a parent div with a child button. Now, when I click the button, the ripple effect on the div is triggered. How can I fix this? <template> <div> <v-card v-ripple="true"> <h3> <v-card-title>{{ title }}</v-card-title> </h3> <v-layout row> <v-flex grow> <v-card-text> {{ plaats }} <br /> {{ sub_title }} </v-card-text> </v-flex> <v-flex shrink> <v-card-actions> <v-btn small color="blue" fab> <v-icon medium color="white">mdi-calendar</v-icon> <

How do you toggle a button with Vue.js?

混江龙づ霸主 提交于 2020-04-10 06:00:18
问题 Note: Using Vue.js and Vuetify.js for functionality and styling. With :class and @click properties, I was able to change the button's background color to desired color, but it applies the change to all of them , and not just the one that I clicked on. Question: How do I have a button toggled without having all of them toggled at once? In my vue file: <v-layout> <v-flex md6> <v-text-field>Welcome.</v-text-field> </v-flex md6> <v-flex id="icon-filter"> <span>Filter by:</span> <v-btn class=

router-link with vue and vuetify confusion

痴心易碎 提交于 2020-04-08 00:01:26
问题 How to use vue-router with using that predefined template: https://vuetifyjs.com/examples/layouts/google-contacts I have added a link in my items object items: [{ icon: 'dashboard' text: 'Home', link: '/'}, { icon: 'dashboard' text: 'Account', link: '/account'}, I am confused where to put the router-link component. 回答1: v-list-tile , v-btn , and v-card all extend router-link , so you can use any of the router-link attributes directly on those components instead. In your case you can just use

Display Vuetify tooltip on disabled button

。_饼干妹妹 提交于 2020-04-06 04:43:17
问题 I am having difficulty displaying a tooltip on a button that is disabled with Vuetify. I've made sure the tooltip can be displayed when the button is enabled, this works as expected. I think that this question is related, but I'm not well-versed enough to know if this applies to a v-btn . I attempted to create a custom class and add that to the specific v-btn element but I did not have any luck. Example HTML <div id="app"> <v-app id="inspire"> <v-container fluid class="text-xs-center"> <v

Display Vuetify tooltip on disabled button

若如初见. 提交于 2020-04-06 04:42:50
问题 I am having difficulty displaying a tooltip on a button that is disabled with Vuetify. I've made sure the tooltip can be displayed when the button is enabled, this works as expected. I think that this question is related, but I'm not well-versed enough to know if this applies to a v-btn . I attempted to create a custom class and add that to the specific v-btn element but I did not have any luck. Example HTML <div id="app"> <v-app id="inspire"> <v-container fluid class="text-xs-center"> <v