Skip to content

issue: field value empty in submit data when having dynamic disabled in useForm #12398

@nothumbee

Description

@nothumbee

Version Number

7.53.1

Codesandbox/Expo snack

https://codesandbox.io/p/sandbox/kgxnwq

Steps to reproduce

  1. Go to the sandbox
  2. Click on Set editable button
  3. Fill in the required field
  4. Submit the form
  5. See console - the first field (has default value) is empty in submit data
  6. Also try to edit the first field and submit again, the value is still empty

Expected behaviour

the first field will have correct value in submit data and it will be possible to edit correctly when using dynamic disabled prop on the whole form

What browsers are you seeing the problem on?

Chrome

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions