Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
Filter by
Sorted by
Tagged with
0 votes
1 answer
55 views

It's very well possible this isn't meant to work, but I'm trying to learn Vue and fail to make a nested form. The usecase is that I want my user to order various amounts of different types of tickets; ...
Alexandria Douillette's user avatar
0 votes
1 answer
36 views

I have a problem with updating my custom directive v-icon. In my component I have this element: <div class="px-6 pt-6 pb-5 font-bold border-b border-gray-200" v-icon.right="'...
MOHAMMAD HASHEMI's user avatar
1 vote
2 answers
62 views

One of my sentences which I localized with i18n contains an anchor tag, and this element should trigger another modal. But, when I use @click or v-on:click localization gets broken. Below is my ...
RaZzLe's user avatar
  • 2,150
0 votes
1 answer
47 views

I'm searching for an implementation of a vue3 directive for german decimal values. The challange that I'm facing is that I need to display the german decimal but store the correct decimal with ".&...
SNO's user avatar
  • 896
0 votes
0 answers
200 views

I have a custom vue directive that is to be applied on a custom component. I am trying to write some unit tests for it with Jest but I'm having a hard time attaching the directive to the custom ...
Mark's user avatar
  • 3,858
1 vote
0 answers
52 views

I accidentally found this documentation of Vue v1, which had a feature to watch attributes on the element that the directive is bound to : <div v-example v-bind:a="someValue"></div&...
Tharaka Deshan's user avatar
1 vote
0 answers
196 views

I want to add an important modifier to the v-show directive. I copied it's code and added the modifier. Can I somehow override the built-in v-show directive? I tried: import { vShow } from "@/...
FieryRider's user avatar
1 vote
3 answers
375 views

I'm creating my own role/rights system because the ones that are available for Vue don't work. I now hide the element when a user does not have the appropriate role. But what I actually want is to not ...
Refilon's user avatar
  • 3,497
0 votes
1 answer
266 views

I'm trying to assign a dynamic style for a different bootstrap breakpoints. To change the position, etc. if the display is different width. So I'm applying v-bind style directive with vue. Am I doing ...
john's user avatar
  • 25
0 votes
1 answer
169 views

I am starting to learn VueJS and I realize that the typical .vue files are defined with a three different parts like <template> other part like <script> and other part like <style>. ...
paul mart's user avatar
1 vote
1 answer
1k views

How can I create a Vue 3 custom directive and have TypeScript throw a compile-time error if a modifier supplied to this directive is not a known value. For example: type ...
amtc's user avatar
  • 13
0 votes
2 answers
3k views

I have a script which displays the global responses of chatbot in my application. The global response module of application has the option to mark one response as default. script: <div class="...
Appu's user avatar
  • 45
0 votes
1 answer
316 views

I am building a component which has two icons: like and dislike. When any of the icon is clicked, the icon should get bigger, show color and the upper heading should disappear. I'm able to implement ...
Appu's user avatar
  • 45
0 votes
0 answers
201 views

I'm having an issue with the v-cloak directive in Vue.js. I'm using Vue.js 3 + Symfony in API mode and I want to implement a small loader between page loads. However, it works perfectly fine in ...
Frédéric Gruwé's user avatar
1 vote
4 answers
734 views

I want to add padding to the :style directive of my shared button component but for some reasons, the changes aren't showing up on the button. I tried doing it with 3 ways below to apply the changes ...
Appu's user avatar
  • 45

15 30 50 per page
1
2 3 4 5
15