Questions tagged [ant-design-vue]

39 questions
0
votes
0 answers

@vue/compat: Cannot read properties of undefined (reading 'getPrefixCls'), related to ant-design-vue

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":…
0
votes
0 answers

State is not maintained after clicking back in the browser (Vue 2 project)

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…
0
votes
0 answers

Pagination Issues in AntDesign and Vue 3

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…
0
votes
0 answers

How to set horizontal scroll and vertical scroll in AntDesign in one line ? Like this, scroll={{x: "max-content", y:400}}

0
votes
1 answer

Modify child component prop/data in parent's event handler

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