Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 02:05
    zhonggithub commented #358
  • 02:04
    zhonggithub commented #429
  • Nov 28 07:47
    askie commented #358
  • Nov 25 09:25
    dodio commented #592
  • Nov 17 09:27
    gomorizsolt commented #361
  • Nov 17 09:08
    gomorizsolt commented #361
  • Nov 17 09:08
    gomorizsolt commented #361
  • Nov 17 09:07
    gomorizsolt commented #361
  • Nov 15 08:25
    psybor opened #506
  • Nov 15 04:05
    Janlaywss edited #505
  • Nov 15 03:04
    Janlaywss opened #505
  • Nov 15 01:33
    CrazyWood007 commented #257
  • Nov 12 19:26
    joeyfigaro edited #495
  • Nov 12 19:10
    joeyfigaro commented #495
  • Nov 12 03:20

    wendellhu95 on master

    feat(module:angular): update to… (compare)

  • Nov 12 03:20

    wendellhu95 on angular-v13

    (compare)

  • Nov 12 03:20
    wendellhu95 closed #504
  • Nov 12 03:18
    wendellhu95 review_requested #504
  • Nov 11 12:29
    wendellhu95 review_requested #504
  • Nov 11 12:28
    wendellhu95 opened #504
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
James Nguyen
@JamesNguyen9x
Hi everyone, currently I'm using ant 3.x. but the Timeline Component doesn't support label. It just works on ant 4.x. How can I update it for ant 3.x ?
BillyRusso
@RussoBilly85_twitter

Hey guys, needed some help. I have this piece of code...

<Select id="trains" name="trains" mode="multiple" allowClear placeholder="Select Course Trainers" defaultValue={initialValues.assignedTrainers.map(trainer => (
<Select.Option key={trainer._id} value={trainer._id}>
{trainer.username}
</Select.Option>
))}
>
{initialValues.trainers.map(trainer => (
<Select.Option key={trainer._id} value={trainer._id}>
{trainer.username}
</Select.Option>
))}
</Select>

The default values in the select shows no label. But the dropdown (options) of the Select component show labels properly
How can I make the default values appear correctly?
image.png
Please look at the above screenshot. See the default values don't show up with labels.
Yogesh R. Bhatt
@yogeshbhatt_gitlab

Hi

I want to change date format in pro table listing.

Can you help me on this?

Form changes don’t persist on tab switching

Any idea?

raj-websultanate
@raj-websultanate
Hi,
I am using ant design Upload component and it let me upload photos of larger size (20 mb) in development environment but the same code is not working on staging environment. It let me upload file upto 1 mb only. Any solution to this? i am stuck at this from morning and can't find anything in the docs.
Spencer Arnold
@spencer741
@wowtech_gitlab I haven’t viewed the link you posted, but what you describe is natural behavior. If you want form information to persist, you need to store the state and reload it when the form is rendered again. This is common with other technologies as well. The default is that the tab component shouldn’t keep track of form state within each tab, because not everybody wants to render a form within a tab. To develop this feature, the antd team could develop this functionality, but it wouldn’t be practical to develop functionality for this one case, because there are so many cases of what could be rendered/what everyone else wants.
Jiri Bleha
@Blehajiri_twitter
Hello, does anybody know if the AntD team has a plan about English Sketch UI kit?
valdezjoelt
@valdezjoelt
hi does anybody know how can I display a checkbox column in a table ? the column is a boolean type
Super Creator
@CustomPro
Hello.
Can I search title in TreeSelect? The search works for value as default.
dilharianu
@dilharianu
Hi,
I am having a trouble Norwegian translations to my app. Can anybody help me in how can I add my custom translations to the locale in config provider? Is there a way to use react-intl along with antd config provider?
Ghost
@ghost~58bcf340d73408ce4f4ea21c

I have scene like this

<Form ref={this.formRef} onFinish={this.handleSubmit.bind(this)} style={{ width: '100%' }} layout='vertical'>
    <Form.Item
        label={label}
        // className={rules.find(r => r.required || r.validator) ? 'required' : ''}
        name={validatorId}// unique id 
        rules={[
            {
                required: true,
                validator: (rule, value, callback) => {
                    try {
                        if (value) { callback('some error'); }
                        else {
                            callback('other error');

                        }
                    }
                    catch (err) {
                        // Error does not show in console if occurred hence need to catch here
                        console.log('Error in validator: ', err);
                        // callback(err)
                    }
                }
            }
        ]}
        initialValue={value}
    >
        {component} // any input component
    </Form.Item>
    .
    .
    .
    .
    .
    {100+ Form.Item fields}
</Form>

so now when I type in input field text started showing after a visible lag

Can anyone help here?

Ghost
@ghost~58bcf340d73408ce4f4ea21c
Can we debounce the onFieldsChange and onValuesChange functions of form?
Pedro Siqueira
@pedrovsiqueira
Does anybody know how i can change the radio input border color on focus? Can't seem to find it anywhere. The radio inputs I want to customize are here https://codesandbox.io/s/zen-ride-cxvne?file=/index.js
marcin mikołajczak🏳️‍🌈
@mkljczk_twitter
Hi, I’m working on a project using Antd and this framework solves most of the problems I had with other similar frameworks. I will probably switch to Antd for another project that currently uses material-ui, but there’s one problem, I don’t know if it’s possible to create complex forms using antd <Form /> component, like form with a field which is an array of objects containing another array etc. Would that be possible with antd form component? When I tried, I had a problem with validation that was getting triggered endlessly
Or should I use something different for forms?
marcin mikołajczak🏳️‍🌈
@mkljczk_twitter
In my current project it led me to one of my most hacky solutions, but it was just for a simple array of objects
xelaos
@xelaos
select.gif
Does anyone know why this is happening? The state gets updated correctly but the items in the input field stay there when they get deselected.
Edgar J Rojas L
@edgarjoserojaslopez
Hi people!! I'm new on antd. I'm trying to make a navbar with react-router-dom. Any tutorial over there???
erhange
@erhange
Hello, does anyone have any idea why the CSS is not being loaded when antd is used with Frontity framework?