Questions tagged as 'vue.js'

1
answer

Validate an empty input when doing a backspace or 'backspace' with VueJS2

In an html I have a v-model='code' with an attribute v-on:change='consultar()' which at the time of typing the code and tabular (for example, (is one of many ways to make the change)), he goes to that method and I list the data in...
asked by 04.12.2018 / 14:50
1
answer

Table with consecutive and accumulator in Vue

In this table programmed in VUE 2 I want this result: +-------------------------------------------+ | fact $importe $ acumula consecutivo | +-------------------------------------------+ | 23 $ 350 $ 350 1 | | 28...
asked by 27.12.2018 / 01:46
1
answer

vuejs shows the brackets in the browser

Hello the problem is the following when I try to tenderizer information of the js to the html file to show it with vuejs it shows the brackets in the navigator as if it was not receiving information, I have vue installed global in npm...
asked by 23.11.2018 / 19:52
1
answer

how to show Permissions in vue with laravel?

I have brought data from the user model and I have laravel permission but when I bring them, I can not show only the name of the role in my veu component, I have my partner as follows <tr v-for="user in users" :key="user.id">...
asked by 01.10.2018 / 21:22
1
answer

Infinite loop and problem with v-show in Vue.js

I'm doing a project in vue.js and I have two situations. The first is that I am generating a list (which is repeated twice) using a v-for , which works correctly, but in the console I get the following error:    [Vue warn]: You may ha...
asked by 30.07.2018 / 15:37
1
answer

adding an item to items by push before axios post does not send the item added

Good morning, thanks in advance for the help you could give me. I'm creating a page for issuing an invoice in laravel with vue and axios. Before sending the invoice to record, I must verify if the total value of the invoice makes you a winner, t...
asked by 21.07.2018 / 11:59
2
answers

How to focus focus with a vue js element?

I have a select with vue js defined: dacademics:[ {text:'Persona Natural',value:'PN'}, {text:'Bachiller',value:'Bach'}, {text:'Profesional',value:'Prof'}, {text:'Técnico Especializado',value:'TE'...
asked by 11.04.2018 / 14:00
1
answer

generate dynamic DATA variables with VUE

I am trying to define dynamic variables for VUE , to then use them in v-for . when loading the page they work, but if later they change their values, they do not change the values in the view. VUE const app = new Vue({...
asked by 12.03.2018 / 23:38
1
answer

Variable assigned within the post in axios travel empty

When I send the form data, the controller recognizes them empty. public function store(Request $request) { // $this->validate($request,[ 'PERS_varDNI' => 'required', 'PERS_varApPaterno' =>...
asked by 23.03.2018 / 14:09
1
answer

Problems Vue js and api

I'm doing a SPA with Vuejs, (router and axios) I'm trying to get an id of a json object called from an API, for when I click on this feature, that is, I have my APi of https://adventuretimeapi.herokuapp.com/places adventure time and I wan...
asked by 19.02.2018 / 13:26