Trying to migrate to Vue 3 using compatibility build with @vue/compat and Vite and getting this error in console related to ant-design-vue:
empty.js:9 Uncaught TypeError: Cannot read properties of undefined (reading 'getPrefixCls')
"vue":…
I have a radio button group (created with ant-design-vue) which gets disactivated when I go back (in browser) to that view after having visited another page.
Screenshot of radio-group (https://i.stack.imgur.com/0ow03.png)
I have tried adding state…
Has anyone used AntDesign ever encountered the problem with Ant's pagination component? I call api with limit of 7 and total is 15 records, antD should return all 3 pages but it only calculates and outputs 2 pages? It doesn't seem to use the…
I am using vue.js 2 and ant design. I encountered such an issue when trying to change the loading state of a button in a modal, which is in an embedded component. Here is a similar example:
Code of modal component:
Modal.vue
…
I try to create reusable table component with Ant Design Vue and use it throught the project. Sometimes I need show custom columns with icons an so on, so I want send them in this case like a slots.
I have my table component ATable
…
The current implementation is as follows:
1: Use custom upload
2: Using a custom list item, this part can add the function of re-uploading, but the file in itemRender cannot be used
When some important data is changed, such as the value of the selectA component is modified, the value of the component B will change, and there is a linkage relationship. Now, when the value of the selectA component changes, a second confirmation…
I'm using Ant Design in Vue 3 and I have a table that I'm able to edit all the cells. The problem is: I want to automatically close the editable cell if the user opens a new one to edit. While I was researching, I noticed that this behaviour happens…
When I try to delete the content in the input and the length of the content is 1, the input closes and I have no idea why. I'm having some trouble trying to figure it out why this is happening.
On this editable table I'm able to edit everything that…
Right now I need some way to make all cells on my table editable. I know I'm able to do it like in this example. But it's just one cell per row, I'm wondering how I can achieve this for all cells on in a single row with its own v-model. I've been…
i am trying to implement storybook with antdv, when I import a tsx file which returns jsx inside button.stories.js, I got "ReferenceError: React is not defined"
you can see error here
but react is not the part of this project at all, it is a vue js…
I introduced the antd vue component when I created the project, and removed it later, but I got an error when I ran it. If I install it again, the error will go away, but I don't want to use this component any more. How do I remove it correctly
I'm using the modularized antdv with babel-plugin-import and when import InputSearch throws me the error described in the title.
"ant-design-vue": "^2.2.8"
"vue": "^3.0.0"
// main.js
import { createApp } from "vue";
import App from…