"antd": "^1.11.1", "react": "^15.1.0", "react-dom": "^15.1.0",   Error: Uncaught TypeError: getFieldDecorator is not a function  ant design demo: https://ant.design/components/form/  import React, {Comp...
I'm trying to use ant.design react components with my redux-form, so far it goes something like this:  import { Form, Input } from 'antd'; import { Field, reduxForm } from 'redux-form/immutable'; const FormItem = Form.Item;  ........
I have written a small component building on antd upload using which user could upload multiple files to the server. I have spent a lot of time debugging, but cannot understand some of its behaviors. The component looks as follows:    There are 2 pro...
I'm using Antd Select component to build a  custom component which gives me the ability to return an object instead of a primitive value and show nested value in object item in the select dropdown options, it works fine and it can be validated us...
I have been coding this simple one-column drag and drop table, but the rows aren´t moving when I drag them. Where do I fix or check that?  I'm using React, AntDesign and JavaScript (with TypeScript)  import * as React from 'react';  impo...
I am working with the antd' select box. I tried to customise the content inside Option which holds the regular text with some JSX. It looks as follows:    Here is also the small demo I prepared on sandbox:    Since I have customised the content i...
The problem is that when i choose date i want it to show as DD-MM-YYYY but i want the date to be saved in my state with the YYYY-MM-DD HH:MM:SS format. How to do this?   export const DatePickerHelper = props => {   const {     input,     datePicke...
this is my table code in AntD, On pagination clicked I want it to scroll to page top. I tried using BackTop but I couldn't figure out how to do that with pagination  const GenericTable = props => { const { withHeader, pagination, showTable, er...
I am using the Ant Design Upload component. Is there a way I can get the content of the selected file as a string in JavaScript in order to display it on the page?  Ideally, I would like to access file.data or something.  <Upload     accept="....
i'm having a problem here. It is mandatory for my project to user ant design. The link is here: https://ant.design/components/table The component i must use is a table component. When i click on a row i must dispatch an action. The problem i'...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.