Skip to content

[DynamicForm] Multi choice field doesn't work for an existing item #1992

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

Closed
michaelmaillot opened this issue May 9, 2025 · 6 comments
Closed
Assignees
Labels
status:working-on-it Known issue / feature being addressed. Will use other "status:*" labels & comments for more detail. type:bug

Comments

@michaelmaillot
Copy link
Collaborator

Category

[ ] Enhancement

[x] Bug

[ ] Question

Version

Please specify what version of the library you are using: [3.21.0]

Expected / Desired Behavior / Question

When working with a list item which contains a multi choice field, we should see multiple items selected when it's necessary, and we should be able to update the field accordingly.

Observed Behavior

When displaying a list item which contains a multi choice field with multiple values, only one is displayed. And if we try to update the selected values, the following errors occur:

Image

Steps to Reproduce

  • Configure the DynamicForm to display existing list item with multi choice field
  • Try to select other values in the field
@ValerasNarbutas
Copy link
Contributor

good day @michaelmaillot , i want to check this out, can you assign to me?

@michaelmaillot
Copy link
Collaborator Author

Hi @ValerasNarbutas

All yours!

@michaelmaillot michaelmaillot added status:working-on-it Known issue / feature being addressed. Will use other "status:*" labels & comments for more detail. and removed help wanted labels May 28, 2025
@ValerasNarbutas
Copy link
Contributor

@michaelmaillot i made fresh install of SPFX and added controls with [3.21.0] version,
created list with separate types for dropdown and multiselect (choice, metadata) and could not see issues, i was able add, remove in both new items and when editing items.

Maybe i am missing something ? how can i reproduce error?

@michaelmaillot
Copy link
Collaborator Author

Thanks for investigating on this! I met this issue when running the ControlsTest web part in the repo, but maybe there was something specific in my case.

I'm on holiday until the end of the week, I'll check again next week.

@ValerasNarbutas
Copy link
Contributor

thanks, let me know if its still an issue and have a great holiday

@michaelmaillot
Copy link
Collaborator Author

Hello @ValerasNarbutas,

I wasn't able to repro the issue, which is odd somehow. I'm closing this for now and I'll keep an eye on this one. Thanks for your availability and sorry for the time you've lost investigating.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:working-on-it Known issue / feature being addressed. Will use other "status:*" labels & comments for more detail. type:bug
Projects
None yet
Development

No branches or pull requests

2 participants