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 on Ant Design for React accordingly to the documentation. My
Tag: antd
issue in dynamic Form List with collapse
I am stuck on implementing dynamic form submit. Here is my code. I am receiving data from backend And trying to show that data to user in Collapse, and in collapse there are 2 forms (first one is for date, second one for money) that user can edit. Also I have add button which allow user to add new collapse
filter antd table according to its columns
First of all english is not my mother language so there might be mistakes. I started react with hooks since everybody said its easier, here i have antd table and a button (bootstrap 5 modal), this …
Antd: How to change tooltip label on table sorter
I’m new using Antd, I’ve create a table with sort functionalities, but I need to change the text on the tooltip of the sorter. Sorter tooltip:- Thanks in advance, if you need any extra code snippet just please let me know. Answer I was able to solve it this way: The trick is to use the showSorterTooltip property.
How to change the tooltip description of the following control that control is from Ant Design?
In the following I show the tooltip that I want to change, the control shown is an upload (Ant Design) and I want to modify the tooltip Thank you very much const { Dragger } = Upload; const props = { …
Antd 4 Checkbox doesn’t have value after form submit
What I have I have an Ant Design 4 form with a checkbox in it: const Example = ({ initialValues, onSave }) => { const [form] = Form.useForm(); useEffect(() => { form.resetFields(); }, …
How can we get/rerender async data in ANT D Column
I need to fetch the data from ant d table column using the text in the column and rerender the result but my code isn’t working it this possible ? const columns = [ { title: “Stocks …
AntDesign. change twoToneColor on an event
How can i change twoToneColor of AntDesign Icon when the trigger onMouseEnterEvent import React from ‘react’; import {DeleteTwoTone, WarningTwoTone, EditTwoTone} from ‘@ant-design/icons’; const …
Warning console : Each child in a list should have a unique “key” prop in table in code react.js
I want to correct the warning “Each child in a list should have a unique” key “prop” in the console. I tried adding the props “rowkey”, “key” in the but the …
Antd table, how to sort by date including the whole timestamp?
I have this item const data: Item[] = [ { key: 1, name: ‘John Brown’, date: moment(’10-10-2019′).format(‘L’), address: ‘New York No. 1 Lake Park’, }, { …