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]: DetailsList does not render Dataverse Multi Select Choices #419

Closed
martintoelk opened this issue Oct 31, 2023 · 1 comment
Closed
Labels
Component: DetailsList documentation Improvements or additions to documentation

Comments

@martintoelk
Copy link

martintoelk commented Oct 31, 2023

Describe the bug

As a Maker I want to add DataVerse Multiselect Choices to a DetailList
Example:
image

The Fluent UI Details List seems to show empty columns
image

The new "Preview Modern Control Table Dataverse only" control is capable of rendering the Dataverse Multi Select Choices

image

To Reproduce
Steps to reproduce the behavior:

  1. Create a new Dataverse Multi Select Choices (new_multi_select_repro) in a table (new_table) image
  2. Create a new Custom Page
  3. Add the Fluent Detailslist Control
  4. Select the "new_table" in the "Record (items)" dropdown
  5. Select any random view
  6. ensure that the column "new_multi_select_repro" is selected in the "fields"
  7. Under "Columns" add the following Power FX Code
  8. Table( { ColName: "new_multi_select_repro", ColDisplayName: "Multi Select Choice Column", ColWidth: 200, ColSortable: true, ColIsBold: true, ColResizable: true } )

Expected behavior
The DetailsList renders the content of the new_multi_select_repro, simliar to the "Preview Modern Control Table Dataverse only" control / Dataverse Grid

AB#958

@martintoelk martintoelk added bug Something isn't working ⚠️ needs triage Has not been triaged by the team yet. labels Oct 31, 2023
@RajeevPentyala RajeevPentyala added this to the Backlog milestone Nov 17, 2023
@denise-msft
Copy link
Member

@martintoelk this is currently expected behavior as we do not support complex types in DetailsList. Workaround is to use the AddColumns() method to add the concatenated values to the Items property table passed in. You could implement this with the multiple value columns feature in DetailsList (shown as Tags) to display the values in one cell

@denise-msft denise-msft added documentation Improvements or additions to documentation Component: DetailsList and removed bug Something isn't working ⚠️ needs triage Has not been triaged by the team yet. labels Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: DetailsList documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants