Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • May 13 02:20
    code-artisan edited #615
  • May 13 01:58
    code-artisan opened #615
  • May 13 01:49
    code-artisan opened #614
  • May 09 08:32
    donghoon-song commented #82
  • May 06 04:41
    Suphonseesanong opened #526
  • May 06 04:41
    Suphonseesanong opened #525
  • Apr 30 14:45
    Suphonseesanong opened #524
  • Apr 29 07:15
    dependabot[bot] labeled #306
  • Apr 29 07:15

    dependabot[bot] on npm_and_yarn

    Bump async from 2.6.3 to 2.6.4 … (compare)

  • Apr 29 07:15
    dependabot[bot] opened #306
  • Apr 25 09:37
    Suphonseesanong opened #523
  • Apr 24 08:56
    jwqStoneatom commented #554
  • Apr 23 07:58
    kangfenmao commented #587
  • Apr 22 14:39
    kangfenmao commented #587
  • Apr 22 09:19
    spikeZwh commented #588
  • Apr 22 08:58
    spikeZwh commented #588
  • Apr 22 04:26
    firebellys commented #334
  • Apr 20 23:34
    jacobweberbowery edited #522
  • Apr 20 23:33
    jacobweberbowery edited #522
  • Apr 20 21:49
    jacobweberbowery edited #522
Dan
@danvln
Hey all, I have a simple question, since I just started with antd. What is the model to override the font-size and style for an Input component ?
2 replies
SophieFabian
@SophieFabian
Hi all, has anyone tried to combine <Input.Password /> and <Input.TextArea />? Like I need a 3-line high input field that is masked.
Alex Kumar
@dharmarajalex_twitter
Hi all. Is there a possibility to use gradient as primary color in ant design?
Israel Tiomno
@tiomno_gitlab
There is no setting for that, you'd need to enhance the CSS theme to add a gradient to your components.
1 reply
szlwaif
@szlwaif_twitter
hi
Ghost
@ghost~5ef5b0a3d73408ce4fe7f385
guys, I made this site https://gogamic-weather.stackblitz.io/ using ant design it's not responsive on the mobile version how to make it responsive in mobile guys
Asjad-Waseem
@Asjad-Waseem
Hi. I'm new to Antd.
Does anyone know how to add a line break between two words in an antd Header component? If I do something like this
<p>Credits</p> <br/> <p>Remaining</p>
It moves me out of the header div
1nsayt
@1nsayt
Hello, guys. Is it possible to show iconPreview in https://codesandbox.io/s/xwblv? I mean in fileList not in picture or picture-card. I think if I use showUploadList and set showPreviewIcon on true that will be work for me. But it can show downloadIcon and removeIcon. But I need iconPreview also. Btw I use 3.x version of ant-design
danielvianna
@danielvianna
hey guys, I'm new to Ant Design. Can someone explain why this grid in XD is like this?
image.png
danielvianna
@danielvianna
Maybe it's a glitch, but I'm trying to understand how the grid works. I know it's 24 with a layout area. But in my XD file, the column width is 21. How do you avoid fractional units in chrome then? if an image of SVG is chopped in fractions (the 1 becomes .5), it will look fuzzy, how does Ant Design deal with that?
Thabo
@RyzorBent
Greetings everyone: what is the difference between antd and antd-mobile we are developing a web application, but it has to be highly mobile responsive. [ but i'm confused as to which i hvae to pick between the two ]
Christoffer Palm
@NormySan
Is it possible to conditionally render a field item based on another field value in the form with the ant form components without having to pull these values out with onValuesChange and setting them as local state?
Deekshith M R
@deekshithmr95
https://ant.design/components/form/#components-form-demo-dynamic-form-items in this form, At first I need one set of the form field, then on clicking add field button, I need to get the next form fields, any suggestion
gyanezfeliu
@gyanezfeliu
Hello guys, we are about to submit a paper that consists of a web application for synthetic biology which makes heavy use of Ant Design. Is there a way to cite o reference the library?
Thanks
bengraygh
@bengraygh
@gyanezfeliu This might be helpful: https://carpentries.topicbox.com/groups/discuss/T33d60669d32ac1d7
You can create a DOI
Ben Senescu
@bensenescu
Has anyone been able to successfully custom themes with storybook 6 and antd?
Ricky Chan
@yhrchan_twitter
Maybe a simple question but I couldn't find the answer, anyone knows much about the built-in internationalization? I know you could switch between languages and there are those locales files where you insert translation of labels of controls and pages, etc. How do you define a label attribute such as <Drawer title="menu.list.table-list".../> ? so that it knows to pick up the correct language from the locale files?
Ricky Chan
@yhrchan_twitter
Nevermind, I figured it out that you could use this pattern to implement by using FormattedMessage such as: {
title: <FormattedMessage id="some.locales.key" />,
dataIndex: "artist",
},
RabiaEkici
@RabiaEkici
Hi, does anybody know how I can find the Rating component of AntD ? I mean not the website I mean in Visual studio, like I copied all the API's, but I do not know what the stars are named and where to find more information.. like their variable name etc. I am trying to set a value in rating star
pratap33
@pratap33
Hi, does anybody knows how to bind API data to a Dropdown in AntD?
german-st
@german-st

Hello

help please, is there an analogue react-split-pane or how to do this on antd?
described the question in detail here:
https://stackoverflow.com/questions/63971915/analog-react-split-pane-or-how-to-implement-on-ant-design

Thank's

pratap33
@pratap33
Hi, does anybody knows how to bind API data to a Dropdown in AntD?
german-st
@german-st

Hello

help please, is there an analogue react-split-pane or how to do this on antd?
described the question in detail here:
https://stackoverflow.com/questions/63971915/analog-react-split-pane-or-how-to-implement-on-ant-design

Thank's

No ideas? ((

vmtrandev
@vmtrandev
Hello guys,
How can we debounce antd form?
Bohdan Shepeliuk
@bshepeliuk
Hi
who can help me?
how to move to center List component ?
lizuncong
@lizuncong
ohuo
Are you interested in react server side rendering
Ricky Chan
@yhrchan_twitter
Hi has anyone worked with Ant Design datepicker and know how to transform the data for storing to the backend? I am using Parse Server and the date datatype requirement is a javascript date format and i'll need to convert Ant Design's datepicker format to a javascript date prior to storing it on the server thanks!
Deekshith M R
@deekshithmr95
hi, how to get events in Checkbox.Groups onChange?
Niklas Becker
@niklasbec
When using the Menu Component, how do I change the Icon from three dots to an actual SVG, overflowedIndicator doesn't seem to work for me when I pass it an SVG imported as ReactComponent like this => import { ReactComponent as Cross } from "../../svg/Close.svg";
image.png
Ishan
@ishan28mkip
Hey I am trying to override the global less variables, does anyone know a way to override them for a single component. For example I have two select components, for one I wish to override the global variable value to one value and the other to another value. Any possible solution?
Alemvik
@Alemvik

In REACT, let says you have those AntD checkboxes:

[x] Allan
[x] Ben
[x] Tom

And this AntD table:

Name Age
Allan 53
Ben 23
Tom 40

As the names get checked/unchecked, I want the grid to only display checked items (rows). I'd prefer not to build and set a new dataSource each time the checkboxes change state.

prince
@prince13481744_twitter
Hey, im using antd upload for uploading video. If i set the file in react state onBefore upload will it store the entire file in the state or just the reference to the path of file and other details ?
Deekshith M R
@deekshithmr95
how to collapse all open panel on one click?
Alemvik
@Alemvik
More questions than answers here lol
sri-go
@sri-go
can anyone offer guidance on overriding default component styles?
NestlyS
@NestlyS
Hi guys. My question is, why does antd override body styles? Especially for font-family. Because it broke the fonts of our site (fonts were defined in the body) and the only solution I found was add !important to font-family. Maybe there is a better solution?
image.png
Dan
@danvln
Hi all, I have a question. I would like to have a label that's editable >> example: when I click on it to convert from label to input, and when I click outside of input to convert to label. Is anything like this supported in antd or react-component?
Anyone?
Christoffer Palm
@NormySan
Has anyone been able to use date-fns with the date picker component? My project crashes every time I try to open the picker with an error saying that the localize function does not exist on date-fns. This happens even if I use exactly the same version as the rc-picker library uses.
Christoffer Palm
@NormySan
Yeah, I'm already using date-fns in the project so that would be the preferable option and I also want the pickers to return actual date objects and not daysj or moment objects.
hazemmadkour
@hazemmadkour
How to support right to left (rtl) with antd