Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jul 29 05:16
    Robert-Ro commented #474
  • Jul 28 19:45
    neonick commented #354
  • Jul 28 18:57
    mattlubner commented #492
  • Jul 28 18:52
    mattlubner commented #448
  • Jul 26 15:26
    adamistheanswer commented #307
  • Jul 22 03:54
    tigressbailey commented #178
  • Jul 20 02:36
    SoYoung210 opened #492
  • Jul 19 02:01
    Robert-Ro commented #307
  • Jul 19 01:22
    Robert-Ro commented #307
  • Jul 17 09:04
    deleonio commented #491
  • Jul 17 09:02
    deleonio commented #491
  • Jul 16 09:30
    tellnes commented #491
  • Jul 16 03:29
    deleonio commented #491
  • Jul 16 02:44
    lxang commented #307
  • Jul 16 02:43
    lxang commented #307
  • Jul 13 09:01
    tellnes commented #491
  • Jul 13 03:50
    deleonio commented #491
  • Jul 13 03:50
    deleonio commented #491
  • Jul 13 03:44
    deleonio opened #491
  • Jul 10 14:43
    TomSssM opened #591
Ali
@prince1456
Hi guys I want to add divider between each rows in List component not sure List has that api or how to do it please check the codsandbox example.
https://codesandbox.io/s/s233d
Shakxzod Namazbaev
@shakxzod.namazbaev.9700_gitlab
update.png
Hi, I am using version 4 of Ant Design. My problem is that I can't place the data inside the Form in the Input. Information is visible outside the form, but no information is visible inside the form. I use initialValue for this
Carl Sachs
@carlsachs
Hello I am trying to add a couple carousels into my current web application. I imported everything just fine, yet when I set <Carousel autoplay> to <Carousel vertical autoplay>, it still slides on an x axis. Any help is appreciated
Tesla-hash
@Tesla-hash
Hello Can you please help me
like this
Снимок экрана 2020-10-24 в 7.54.11.png
Everything is work in example
but when i wanna make one input depend on value of another input it doesn't work
<Form.List name="conditions">
{(fields, { add, remove }) => {
return (
<div>
{fields.map(field => (
<Space key={field.key} style={{ display: 'flex', marginBottom: 8 }} align="start">
<Form.Item {...field} name={[field.name, 'entityType']} fieldKey={[field.fieldKey, 'entityType']} rules={[{ required: true, message: 'Вы не указали параметр' }]} >
<Select
style={{ width: 130 }}
options={type}
      />
      </Form.Item>
      <Form.Item
      noStyle
      shouldUpdate={(prevValues, curValues) =>
        prevValues.entityType !== curValues.entityType || prevValues.para !== curValues.para
      }
      >
      {() => (
        <Form.Item
        {...field}
        name={[field.name, 'param']}
        fieldKey={[field.fieldKey, 'param']}
        rules={[{ required: true, message: 'Вы не указали параметр' }]}
        >
        <Select
       disabled={!form.getFieldValue('entityType')}
        >
        {(para[form.getFieldValue('entityType')] || []).map((elem, index) => (
          <Option value={elem.value}>{elem.label}</Option>
        ))}
        </Select>
        </Form.Item>
      )}
      </Form.Item>
      <Form.Item
      {...field}
      name={[field.name, 'value']}
      fieldKey={[field.fieldKey, 'value']}
      rules={[{ required: true, message: 'Вы не указали значение' }]}
      >
      <Input placeholder="Значение"
      />
      </Form.Item>
      <Form.Item
      {...field}
      name={[field.name, 'operand']}
      fieldKey={[field.fieldKey, 'operand']}
      rules={[{ required: true, message: 'Вы не указали оператор' }]}
      >
      <Select
      style={{ width: 130 }}
      options={operand}
      />
      </Form.Item>

      <MinusCircleOutlined
      onClick={() => {
        remove(field.name);
      }}
      />
      </Space>
    ))}

    <Form.Item>
    <Button
    type="dashed"
    onClick={() => {
      add();
    }}
    block
    >
    <PlusOutlined /> Добавить критерий
    </Button>
    </Form.Item>
Can somebody help?
Снимок экрана 2020-10-24 в 7.55.56.png
Tesla-hash
@Tesla-hash
good chat...
DAVY DJESSA
@barklaysdon
hello ! please , does somebody can help ? how to set a value(exemple :color) of a specific row in ant table by clicking on that row action's button ? when i am trying to do it , all my table color change
Tesla-hash
@Tesla-hash
hello..
Ihsan Maulana Hamdani
@ihsanmaulanahamdani
use rowClassName and you have to save current row id
Tesla-hash
@Tesla-hash
what you mean?
Knut Olav Bøhmer
@knobo
Wouldn't a sane default css value for Typography.Text with ellipsis be {max-width: "100%"}?
Knut Olav Bøhmer
@knobo
I could create an issue on it if anyone agrees
or a pr.
wwwshayronen
@wwwshayronen
Hi everyone. I'm trying to use ant Modal component but I only get the html of the component. I'm sharing with you the result.
image.png
anyone know why its hapenning?
1 reply
Knut Olav Bøhmer
@knobo
@wwwshayronen show me the code.
Brian Hinton
@theborderradius
Anyone have thoughts on two versions of ANT existing within the sameproject?
Jan
@alejandromaju_twitter
Hello! Anyone knows how to edit the submit-reset text of the pro table form or even the normal form? It is not localized properly on my locale and I need to fix that
Tianqi Yu
@TianqiYu3_twitter
Hi all, is it possible to specify each Step's width for the Steps component? I specifically want to use Steps with type="navigation" and I want e.g. step 1 to have 1/3 widths and step 2 has 2/3 widths of the steps bar (https://codesandbox.io/s/confident-glade-3f7xh?file=/index.js). Anyone know how I would be able to achieve this goal? Simply adding a style with width on the Step doesn't work.
1 reply
guidovalli
@guidovalli
Hello, some way to put size = "small" in all components?
Artur Baybulatov
@ArturBaybulatov

What's up! Could somebody explain what's the procedure on reopening issues if a bug still occurs? Don't wanna create duplicates.

ant-design/ant-design#15891

Ivan Emelyanenko
@ivanemelyanenko
image.png
How can I change the empty icon in my spreadsheet?
Hello
Sebastian Alemán Fierro
@sebas-alem-f
Hi, someone can help, with a column fixed in and table
qilx
@qilx
Hi, please is it possible use icon as PageHeader avatar?
qilx
@qilx
I found it out
qilx
@qilx
Please how can I use Breadcrumb with full paths? (Without anchor)
Deekshith M R
@deekshithmr95
how to pre-populate the values in form when other fields in form changed
Benjamin Hoppe
@BenjaminHoppe

Hey, having some minor issues in my company's React app, I'm mainly a designer and forget how to fix these sorts of things.

Error I'm getting is: Module not found: Can't resolve 'react' in '/Users/benjaminhoppe/code/archform_dash/node_modules/@ant-design/create-react-context/lib'

tried doing npm i and then even deleting package-lock and npm i again. Any idea how to fix?

Nestor Bonilla
@nestorbonilla
Hi, I'm using ant design with Gatsby, and I'm having issues with rendering from serverless functions. The only way in how I can make it work properly (show the results from the serverless functions), is only using the List component with its dataSource and renderItem API functions. How can I make it work data render from serverless functions with components such as Collapse or Carousel? Have you had these issues? How have you solved this? Thanks in advance.
Dũn
@qngnud
Does anyone have an example code about replace momentjs with dayjs using antd-dayjs-webpack-plugin, I tried but it's not working
Herbert Pimentel
@herbertpimentel
Hey guys i am strugling with this less variables, I need to define a the color for :hover behaviour. antd default behavior is make it little lighter I need make any hover little darker than primary- color, how can I do that ?!
mayi.design
@vesanyy
hi,i'am www.mayi.design
welcome
mayi.design
@vesanyy
mayi.design domain is for sale
mayi.design
@vesanyy
is anybody here?
Steven Pease
@svpease
I am here, @vesanyy !
Ricky Chan
@yhrchan_twitter
Has anyone tried using the Table or ProTable component in a mobile portrait mode format? for some reason, if I have text which doesn't fit within the cells the words doesn't wrap to the next line and takes up the other cell spaces. If the mobile orientation is in landscape mode it works
mayi.design
@vesanyy
@svpease nice to meet you
qilx
@qilx
Hi, I am using <Upload /> inside <Modal />. But with each added file for upload (beforeFileUpload callback) I can see modal rerender and efect of showing modal runs again. Any idea how to prevent that please?
Shakxzod Namazbaev
@shakxzod.namazbaev.9700_gitlab
Hi, How to use Modal re-render?