Questions tagged [vue-directives]

A Vue.js directive can only appear in the form of a prefixed HTML attribute that takes the following format:

<element
  prefix-directiveId="[argument:] expression [| filters...]">
</element>

Common directives are v-if , v-for, v-model...

218 questions
0
votes
1 answer

How do I toggle between v-textfield and v-autocomplete in Vue.js?

I am using column count in the grid to generate dynamic text fields at runtime. In the code below Object.keys(entryData) will have the list of columns. When i get the item.field condition as 'councilDisplay', I want that particular textfield to be…
Nikul Vyas
  • 363
  • 3
  • 7
  • 30
0
votes
1 answer

Issue with Vue.js : Doesn't display data

I'm learning Vue.js framework and I'm making some tries in order to handle this JavaScript framework. My example is very simple, but I don't overcome to display data {} according to .html and .js files. This is my .html file :
Essex
  • 6,042
  • 11
  • 67
  • 139
0
votes
0 answers

Not call data property from Bootstrap-vue

My problem: I can't target data element(show: false), and use Vue directive v-show: to hide element what I want. This "show" property changing when toggle menu button is a click. And in console possible call this "show" property writing…
0
votes
1 answer

Passing the Properties of an Object in Vue.js

As i learnt from vue.js guide you can use v-bind without an argument (v-bind instead of v-bind:prop-name). I treid it, i'm not getting any value. Vue.component('click-count',{ data: function(){ return{ names: { firstName:…
kvinbabbar
  • 185
  • 1
  • 4
  • 15
0
votes
1 answer

Vue updating the value after a page refresh

Select Venue
bmayank
  • 1
  • 1
  • 7
0
votes
1 answer

Vue v-model data binding issue

I have a pair of standard Bootstrap radio buttons and I wanted v-model to set a value in the vue data object when one is selected. This works just fine in a JSfiddle, however this doesn't work when running locally on my own environment. I can get…
SharkBark
  • 33
  • 5
0
votes
1 answer

VueJS: Obtaining dynamic component information in method run via v-bind

I believe this is a relatively unique problem, and as such I'm having difficulty trying to solve it. I'm creating a file manager-like solution in Vue, and I'm looking for certain folders/files to display a unique thumbnail (in my example, showing…
Lachlan
  • 1,245
  • 5
  • 18
  • 34
0
votes
1 answer

Multi column fields layout in vuejs form generator

Basically Vuejs vue-form-generator generates form layout as single column view having single field per row. Here is the sample jsfiddle for…
0
votes
0 answers

Vuejs preserve element attributes

My case looks like this: Laravel template:
ID #3265872
1099511627776
  • 176
  • 1
  • 18
0
votes
2 answers

VUEJS how to call PHP file on form submit

I am Designing and developing Bus reservation portal in VUEJS, when I click on (search buses) button. I want to call external PHP page, where it will show the search result. I have hosted reference link here…
Balram Sharma
  • 119
  • 1
  • 3
  • 15
0
votes
0 answers

Unable to add SVG code

I want to add icons with SVG code but when I add SVG to vuejs code it shows me an XML header tag along with icons e.g.
Balram Sharma
  • 119
  • 1
  • 3
  • 15
0
votes
1 answer

can not assign props to data

This is a simple component. I'm trying to assign props to data as docs said so. (the initialData comes from vuex and database)