-
Notifications
You must be signed in to change notification settings - Fork 55
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]: Details List Default row not being selected when app loads #461
Comments
Hello, checking in to see if this has been reviewed? |
Hi @KeithHR, Is the detailsList prop |
Hi @denise-msft, I have tried to set it to multiple and it does work for either single or multiple. I would like to have one row in the list be selected by default when a user clicks on the tab to open the app(the list is located on the home screen). The problem seems to be that it will only register the default row if I navigate to a different screen and then navigate back to the home screen where the list is located. |
Just to clarify, what do you mean by an embedded app? is this embedded in SharePoint, a model driven app as a component, as a custom page as part of a model driven app, or something else? Also, regarding how the behavior works when you navigate back to the screen - where are you updating the collection, Screen.OnVisible? If you were to display the values of |
Yes that is correct.
Here you go. To reproduce you will need to embed a canvas app in a model driven app. Variable: DetailsList -> Items: DetailsList -> Input Event: |
Thanks for sharing this, we are working on a repro. Is |
Yes that is correct and yes the option set data is there and loads correctly |
Describe the bug
I have a details list in an embedded canvas app. I have set the RecordSelected property to true and have set input event to "SetSelection"&Text(Rand()) however when the app loads the row is not being selected by default.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Every record that has RecordSelected set to true should be selected when app loads
AB#3081
The text was updated successfully, but these errors were encountered: