Category "ant-design-pro"

How to get index of row in ant design table?

I want to show index of rows in ant design table. eg: 1 to 10 for 10 rows data i got. const columns = [{ title: 'ID', dataIndex: 'id', key: 'id',

Ant design onFinish function with typescript; Type '(values: FormData) => void' is not assignable to type '(values: unknown) => void'

I have interface FormData, which is supposed to be same type as values that onFinish function receives, but when I put const onFinish = (values: FormData) =>

Ant design - How do i auto close select ("tags" or "multiple" mode) dropdown after each selection?

I'm using ant.design select component ("tags" or "multiple" mode) in a page, i want dropdown to be automatically closes after each selection. Now it remains ope

Icon should have `type` prop or `component` prop or `children`?

Warning: Icon should have `type` prop or `component` prop or `children`. How to troubleshoot the issue? import React from 'react'; import { bindActionC

How to change button text language on protable filters in Ant Design Pro

I have a pro-table in ant design in which I want to apply filtering. However, the action buttons on the filters are always in Chinese as shown in the attached i

Instance created by `useForm` is not connected to any Form element. Forget to pass `form` prop with antd pro

Today when I add the Form fields reset code in antd pro: import React, { useEffect } from 'react'; import { ProFormText, ProFormTextArea, ModalForm, Pro