Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • Sep 25 18:39
    anhthang commented #334
  • Sep 25 08:38
    techdatas opened #622
  • Sep 21 08:53
    gaokun edited #540
  • Sep 21 08:36
    gaokun opened #540
  • Sep 16 04:26
    harshad-eden opened #311
  • Sep 14 05:38
    DanielRosenwasser commented #479
  • Sep 14 05:37
    DanielRosenwasser synchronize #479
  • Sep 13 11:29
    ggalejandro commented #521
  • Sep 09 07:06
    coderlzw-cn opened #621
  • Sep 07 09:50
    long76 opened #539
  • Sep 07 09:50
    afc163 edited #539
  • Sep 07 09:11
    zhangyuang commented #423
  • Sep 01 11:39
    826327700 opened #538
  • Aug 31 03:01
    hsuanxyz edited #537
  • Aug 31 02:51
    hsuanxyz opened #537
  • Aug 30 17:10
    csvan commented #282
  • Aug 28 19:27
    drilko edited #536
  • Aug 28 19:27
    drilko opened #536
  • Aug 25 03:45
    tangjinzhou labeled #533
  • Aug 25 03:24
    tangjinzhou closed #499
Hi all, I've been searching for a while now on how to clear the search field after a transfer is done within the transfer component, but I haven't found a proper solution. Anyone who can help?
2 replies
Vlad Florin Sodringa
Hello guys, does anyone of you have a nice header example done in antd?
Guys, there's only questions in this chat. Why bother asking if no one answers? (oops, another question! :)
Muhammad Arslan Ali
Hi there!!!
anyone online?
Antonijo Đođ
Just hi :)
Vlad Florin Sodringa
Hey, does anyone know how can I add multiple badges to an element?
Hi. Simple question: is there a way to set the class name of a antd table?
Abraham Olatubosun
Hey Hi, I am new to Ant-design and React I guess I will be needing all of your help to bring me up to speed, I am currently developing a project, that should have a horizontal bar menu with some dropdown sub-menu, I have seen some cool once from Ant-Design how do I integrate it with my current react project. Thanks
Hello i am new using AntDesign i have some questions ? do i have to use a lot of CSS bare code to style Ant? or i need to better understand the Grid? and also i dont see many AntTemplates so i can see how the code is being structure thanks a lot AntCommunity
Artur Marchi
can i change width and height of upload component?
Egor Shumanskiy
Hello everybody! Is there any way to customize Form.Item feedback icons ( https://ant.design/components/form/#components-form-demo-validate-static )? Has anybody swapped these icons ever?
Jude Lee
Hi I have a Drawer with the width being set still showing the initial width when it is opened... can't seem to get this to work.... any ideas? I'm using React and "@ant-design/compatible": "^1.0.2",
"@ant-design/icons": "^4.1.0",
Heelllllp :) Thanks!
I set the width to 720 or any bigger value but still opens at it's intial width which is 256 I believe
Hey guys, somebody faced issue for antd components that it's don't show suggestions ?
I'm about this things
2 replies
Hello. When I set the value property of a <Checkbox.Group> the checkbox corresponding to the value does not get set if I am using an antd Form. If I use <Checkbox.Group> without a <Form> setting the value property works. Has anyone encountered this problem?
Pranay Prateek
I want to show a form if a user clicks a particular option in select. The form should appear at the same place where the option list appears. How can I do this?
Linda Saleh
Hi Guys
I need to change the font size of ant design in run time is that possible ?
Hi! I was playing here a bit with adding avatars to one of my apps, so wrapped a demo here https://avatar-selector.netlify.app
You can grab the source code on https://github.com/skitsanos/avatar-selector
There are 40 avatars linked by default
@skitsanos Nice project. Is it easy to create custom avatars from your source? Other feedback would be to add option to change skin tone and facial feature to support various ethnicities.
@herbthecoder this one is rather basic one :) i have another one with support for gravatars and other avatar services, one of them comes with really detailed config options. In reality even this one is rather simple to 'tweak' as well. Maybe later will open source that bits as well...
@LindaMoussa_gitlab everything is possible
Why cant the Form read the Values form my Object? I tried also to use InitialValues in the Form but the Input fields are empty
Shakxzod Namazbaev
Did anyone at Ant Design work with Tree drag and drop?
hi there, I'm sure this has been asked before, but is there an english version of the Sketch design files? Thank you
hi guys what's happening? antd is deleted from github
Bryce Easley
Yeah I'm seeing the same thing.
hi there can someone help me, I need to remove the arrow in the submenu and instead put a component that purposes as options for this submenu

Hi everyone!

I am try to write a unit test of biz components which is base on antd select.
I use @testing-library to write unit test.

This is my unit test code:

it('filter by input', async () => {
    const { getByRole, rerender, container } = render(<MySelect />);

    await act(async () => {

    expect(screen.queryAllByRole('option')).toHaveLength(58); // received => 2

This is my biz component

const OPTOINS = [{ value: 'a', text: 'a' }, {value: 'b', text: ‘b'} ];  // There are 58 options.
const MySelect = forwardRef((props, ref) => {
  const handleSelectFilter = useCallback(
    (input, option) => option.children.includes(input),
  return (
      {OPTIONS.map(({ value, text }) => (
        <Select.Option key={value}>{text}</Select.Option>

What should i do to simulate open select option list?
In antd v4, select impl by virtual list.
So, what is the correct excepted value?

Hi there. It's normal that after a form.resetFields(['parent']), the 'child' fields (['parent', 'somechild'] etc) are not refreshed ?
hi Im trying to use antd-theme-webpack-plugin with craco and its not working im getting this on the console "Less has finished and no sheets were loaded"
Szalai Laci

I made a Youtube playlist about AntD English tutorials.

You can watch the videos.
You can add videos, this is how:
Use this link
Click the Haburger_Plus sign to Save playlist (You become an author of the playlist)
Each time you want to add a video: 3 dots, Save to playlist, choose AntD .

Let me know if you like this idea and how difficult it was to follow the steps.

For now i just added two videos from youtubers, the content should grow in the future, as we all add good videos (!) to it.
Playlist = Library, same thing.
Follow the steps on PC.
Szalai Laci
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

I'm thinking which state management library to use in a new UMI project: DVA or Redux.
You might have some thoughts on this, or just find this info useful.

What's the connection with antd?
Antd uses UMI and DVA.

PROS (DVA is good because:)
There is a Chinese community behind it (I live in China), they have tutorials and groups for questions.
UMI is made for DVA, so future compatibility is granted.
Small size. Empty UMI project with DVA added is 0.5 MB.

CONS (DVA is bad because:)
Poorly documented.

There is a much bigger English language community behind it.
Very complex, has Hooks and other features to cover special needs.

Large size. Empty UMI project with Redux added is 2.6 MB.

This is not final, but i might choose DVA because of the size. It won't be easy though, cause I don't understand the Chinese documentation and machine translation gives a poor result.

Ricky Chan
For anyone interested in using Ant Design Pro + Parse Server as a backend with user authentication hooked up, I have a seed project here -> https://github.com/RocketCodeYYC/RocketCode-Platform
I'll need to spend some more time on documentation, but good enough to get you started, thanks
Szalai Laci
@yhrchan_twitter Thanks. Sharing is caring. :)
Aaron Grau
Hi does anyone have any example repos they could point me to that integrate graphql into ant design pro?
Artur Marchi
hey guys