I have a text area in a form that I am using to write the description of something. But, the max char limit is 5. I am trying to calculate the max length of my description using the computed property. But, somehow the computed property is not firing when the length of the description crosses the limit of 5 chars.
Tag: vue.js
How to make forms stay in place when HTML display data is blank
I’m trying to make a form field stay in place whenever the HTML display data part is blank. The form field does stay in place whenever the display data part is filled in, but when it is blank, the form field moves upward and indents slightly to the right. I’m trying to code it in a way that when it
Retrieve a props data in Vuejs and record to POST API with modal
I would like to retrieve the data “project.id” to record it when I click on the button “add study”. When I click on this button, I send the name and the status but i would like to send the id of project too via my API. Si this is the code : And the javascript : How can I add
Avoid Mutating Props Directly in a Nuxt VueJs
So I see a lot of posts about this issue but I can’t wrap my head as to why I am doing wrong here. I have a form that I place in a component. It’s mostly made up of TextFields using vuetify. I am then reusing this form somewhere else. I’ve tried different things but I am still getting the
Why does displaying text inside the document via transform: translateY(-100%) create extra white-space at bottom of page?
Put very briefly I wrote a vuejs component that includes a small icon that displays some text when being hovered over. I created a minimal example here: https://codesandbox.io/s/sweet-jackson-v0kgc?file=/src/components/ShowBox.vue:115-136 The special thing is: when the icon is at the very bottom of the page the text is displayed above the icon instead of below such that the page does not have
Class import produces undefined
I’m working on a Vue app and trying to build some helper classes: file a.js: file b.js: file c.js: When I import Middle it is undefined and giving me Uncaught TypeError: Super expression must either be null or a function on the line of extends Middle I’ve also tried Which should not make a difference as far as I know
Axios call to Springboot backend responding is not forwarding to new page after returning response
My postmapping “login” in my controller is returning a 200. But I’m getting undefined and I believe it is from my axios call. I know that the undefined error is being reported from the catch block in the console Axios call – Response from dev tools Response from test Answer Axios response schema documentation is here Unless you have a
How to use swiper breakpoints in Vue Js
Good morning, I’m making a site using VueJS for the frontend, I have installed SwiperJS via npm for Vue to make sliders. It works fine but i’m not able to make functioning breakpoints to have a responsive number of slides. I used this code to make a responsive post section that has all 4 posts showed in the PC view
THREE.js obj not loading in vue
I’m really confused about the way vue and THREE.js work together. I am using the exact same obj, once in a plain js environment – where it works perfectly fine – and once in vue.js, where the canvas stays empty and the dev console shows several warnings. The code I used in js is the exact same as in vue
How to download a vue file as pdf file in vuejs?
I have a vue as below which I want to download as PDF when I click on a button in main_component. Please help me find a way around to do so. download.vue main_file.vue Answer You can use the Javascript window.print document method and import your download.vue component into main_file.vue component and then pass the innerHTML of download.vue component by using