Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG][edit page]useFieldArray disappear #6276

Closed
CRC32EX opened this issue Aug 23, 2024 · 2 comments
Closed

[BUG][edit page]useFieldArray disappear #6276

CRC32EX opened this issue Aug 23, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@CRC32EX
Copy link

CRC32EX commented Aug 23, 2024

Describe the bug

useFieldArray elements sometimes disappear

refine.mp4

Steps To Reproduce

  1. clone repository
git clone https://github.com/CRC32EX/refine_bug_report
  1. install dependencies
npm install
  1. Build
npm run build
  1. Run in production mode
npm run start

Expected behavior

useFieldArray elements always appear

Packages

Name Version
@refinedev/cli 2.16.21
@refinedev/core 4.47.1
@refinedev/devtools 1.1.32
@refinedev/inferencer 4.7.0
@refinedev/kbar 1.3.6
@refinedev/mui 5.14.4
@refinedev/nextjs-router 6.0.0
@refinedev/react-hook-form 4.8.14
@refinedev/simple-rest 5.0.1

Additional Context

Running development mode (npm dev) is not reproduce this issue.
Only production mode reporuceable.

I also tried this project files.
This project using Next pages router.
This project is not reproduce this issue.

ref: #5894

@CRC32EX CRC32EX added the bug Something isn't working label Aug 23, 2024
@BatuhanW
Copy link
Member

Hey @CRC32EX thanks for the issue and appreciate the reproducible example! We'll review it soon and get back to you.

@BatuhanW
Copy link
Member

Hey @CRC32EX I've checked the issue and I don't think this issue is related to Refine directly. I've managed to fix problem by adding a default value. See the diff below:

Screenshot 2024-08-28 at 15 08 15

Closing the issue, feel free to re-open it with more context if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants