Skip to content

Conversation

@langz
Copy link
Contributor

@langz langz commented Dec 19, 2025

Will be the 1st step to be fixing #6152

For now, I've just added a test that tests the given scenario.

I'm not sure if the fix/issue is in Field.Upload (don't think so) or Iterate.Array that needs support for setting/handling async values.

Here's A CSB where one can experience the issue.
Try to upload 2 files, one in each Field.Upload. In the video below you can see that the file that's uploaded first in a given Field.Upload will be removed when the second file in an other Field.Upload is uploaded:

Screen.Recording.2025-12-22.at.20.50.38.mov

TODO:

  • The actual fix.

@codesandbox-ci
Copy link

codesandbox-ci bot commented Dec 19, 2025

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Dec 19, 2025

Deploying eufemia with  Cloudflare Pages  Cloudflare Pages

Latest commit: 518d20b
Status: ✅  Deploy successful!
Preview URL: https://1b50306a.eufemia-e25.pages.dev
Branch Preview URL: https://chore-present-sceanrio.eufemia-e25.pages.dev

View logs

@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 22, 2025

  • eufemia-starter

    yarn add https://pkg.pr.new/dnbexperience/eufemia/@dnb/eufemia@6156.tgz
    

commit: 518d20b

@langz langz force-pushed the chore/present-sceanrio branch from 81529ca to 518d20b Compare December 22, 2025 19:54
@langz langz changed the title fix(Field.Upload): with async fileHandler should work in Iterate.Array fix(Field.Upload): async fileHandler should work in Iterate.Array Dec 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants