问题
I have a form with a User Picker field, simple. On my table I want to display the associated name of the user from my directory, not their e-mail address like the default is. Suggestions?
Thanks!
回答1:
As per the official documentation, the onValueChange event will pass an object in the newValue. This object is the user record in the directory. From there you can get the full name by using this:
var fullName = newValue.FullName;
For that to work, in the property editor you have to enable the valueIsRecord option, while the user picker widget is selected.
来源:https://stackoverflow.com/questions/57809480/display-fullname-from-directory