question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

setFieldsValue can not update field self's value

See original GitHub issue

it’s same with this issue, but it seem to be not resolved.

Version

3.4.1

Environment

mac: 10.13.4 chrome : 65.0.3325.181

Reproduction link

Edit on CodeSandbox

Steps to reproduce

write something in the input

What is expected?

input value should be transformed to upper case

What is actually happening?

not transformed


setFieldsValue can update other filed value, why not it self ? what’s the meaning of getValueFromEvent?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
afc163commented, Apr 16, 2018
0reactions
afc163commented, Aug 12, 2020

updated antd version to 3.x: https://codesandbox.io/s/empty-voice-9g7w6

Read more comments on GitHub >

github_iconTop Results From Across the Web

setFieldsValue does not re-render form value - Stack Overflow
My form has hundreds of fields so I think it would be good if I set something to my dependencies. It's good to...
Read more >
Solved: How to copy fields value from Parent to Child form...
Solved: Hello everyone, My use case is in my parent form, I have meeting start and end date fields where the end user...
Read more >
[Solved]-Input fields are not updated by useState?-Reactjs
Coding example for the question Input fields are not updated by useState?-Reactjs.
Read more >
useForm - setValue - React Hook Form
This option will update touchedFields at the specified field level not the entire form touched fields. setValue('name', 'value', { shouldValidate: true }).
Read more >
show message validate error input once at a time ant design ...
BlockI don't want to see this, for any search. Feedback. What do you think of this? How to show Antd form validation error...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found