admin管理员组文章数量:1394138
I have a SharePoint Online list with a Person column. I have created a Power Apps form to enter the data because I would like to be able to set up a default value for the field (the user should be the default for that field).
To achieve this I set the DefaultSelectedItems
property of the Combo Box tied to the Person column using the following code:
If(
SharePointForm1.Mode=FormMode.New,
{
DisplayName: User().FullName,
Claims: "i:0#.f|membership|" & Lower(User().Email),
Picture: User().Image
},
Parent.Default
)
The default correctly displays the user's full name, and puts the right entry into the SharePoint list.
My issue is when the user clicks and expands the combo box, in the drop down list it shows other recent users, but it doesn't show the actual user's entry selected:
If I then select the user (by searching for their name) or any of the other users in the dropdown, then when the user subsequently clicks and expands the combo box again the selected user IS highlighted:
Is there anyway to have the combo box highlight the selected user when it is first opened?
本文标签: sharepointPerson combobox in Power AppsDefault selection display issuesStack Overflow
版权声明:本文标题:sharepoint - Person combobox in Power Apps - Default selection display issues - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744630781a2616524.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论