Questions tagged [ant-design-pro]

482 questions
0
votes
0 answers

Data is not sent to AWS server in Reactjs

I am trying to send my Form data to server on base of API, but every time I click on the upload button, it gives me this error: Localhost 404 Not Found How can I figure out if there is any mistake in my code? I will also share code snippet of my…
Brad
  • 123
  • 3
  • 5
  • 12
0
votes
1 answer

Can you split a table into different pages in Semantic-UI-React?

I am trying Semantic-UI-React. I did work with Ant Design before. with Ant Design when you build a table it is spitted into a couple of pages automatically (shows you about 10 rows at each page). Can this be achieved in Semantic-Ui-React as well?…
Randomizer
  • 475
  • 7
  • 19
0
votes
2 answers

ReactJS Ant Design - Use Range Picker as Multi Month View with Single date selection

I have a requirement of implementing Multiple Month View which shows two months calendar side by side exactly like RangePicker but to be able to choose only single date, not a range. I have made a Sandbox If anyone has worked on such solution,…
iphonic
  • 12,615
  • 7
  • 60
  • 107
0
votes
1 answer

How to send custom Header in async functions used is Ant design pro?

i want to send custom headers with async request i am using React And design pro framework . export async function AccountLogin(params) { console.log('params', params); return request('http://dreamfactory.com/api/v2/user/session', { method:…
Uday Kumar
  • 121
  • 1
  • 10
-1
votes
1 answer

`useForm` is not connected to any Form element

my code error I've imported the Form from ant design, then I've declared it, and I've added the form in the Form element. but why still error occurs when rendered. I want everything to run normally without error messages.
-1
votes
1 answer

I don't understand how to pass a link to render in antd

this is my first time posting to stackOverflow. I'm trying AntDesign, and got a problem. Help me figure out how to pass a link from the data to the render. one item from data example: { name: "Aburame Clan", number: "01", description: …
-1
votes
1 answer

How do I resolve? Module not found: Can't resolve '../styles.globals.scss' VsCode

This is the error message I am getting with my import statement for the scss file in my _app.tsx. How do I resolve this? I am using Next.js & I've tried almost everything on the web https://i.stack.imgur.com/XNrjx.png
-1
votes
2 answers

How can I fix "Change tab after reloading page ."

I am using AntDesign for tab in my UI. When i am reloading my page tab automatically change, i have implement some common solutions but still not working. this problem ruins my ui code : const [key, setKey] = useState("1"); const callback = (k) =>…
-1
votes
1 answer

Outward border radius like given in below picture..?

I am using ant-d navigation bar and i have to make an outward border like given in image. how can i achieve this?
Arslan ali
  • 43
  • 6
-1
votes
1 answer

Antd design: Form : How to use form.setFieldsValue to change data?

My question is How to correctly use form.setFieldsValue function to manipulate the form data? I am stuck with this issue where I have to get image url from data to show as Avatar. (Antd does not have Image component look like) so When I open Modal…
newdeveloper
  • 1,401
  • 3
  • 17
  • 43
-1
votes
1 answer

Update state of input on click , from table list

Thanks in advance. How do update a react input value to state on button click. I have a list of input and button listed in table row. Need to update the state array of specific item. Code is below
Ankit Jayaprakash
  • 1,040
  • 3
  • 15
  • 31
-1
votes
2 answers

how to add dynamic validation in form using reactjs

I am using ant design in my demo application. I want to add dynamic validation of mobile number in my application. In my form there two field select field input field I want to add validation in the input field when select field in mobile(mobile…
user944513
  • 12,247
  • 49
  • 168
  • 318
-1
votes
2 answers

Ant Design: Validating form fields w/custom validators

I'd like to use notifications to push form feedback, instead of the inline messaging. e.g. {getFieldDecorator("name", { rules: [ { validator(rule, value, callback) { if (!value) { …
Wilhelm
  • 1,407
  • 5
  • 16
  • 32
-2
votes
1 answer

how to add Ant design to next.js 13 project,and customize the theme and components

What Ant design has done so well is humanizing their design. They evaluate quality of design by measuring against four human-consciousness and happiness centric values - naturalness, certainty, meaningfulness, and growth. Those act as a standard for…
-2
votes
1 answer

Delete item from list and get list data : Ant Design

Can somebody help me to get data on submit and delete data of user list Code is available below https://codesandbox.io/s/r4try the code will help us to add a user but how to delete that user from list ? the Submit button does not return list data…
Pranshu Saxena
  • 145
  • 1
  • 1
  • 7
1 2 3
32
33