<p>The <a href="https://craftcms.com/docs/users-fields" rel="nofollow noreferrer">Users field</a> uses the username for the display label by default when showing what users have been selected.</p>

<p>My guess is you've got the <a href="https://craftcms.com/docs/config-settings#useEmailAsUsername" rel="nofollow noreferrer">useEmailAsUsername</a> config setting set to <code>true</code>?</p>

CC BY-SA 4.0
2018-05-16T08:23:09.917Z
I have the same problem. I could see changing the username field by hand, but I guess this field is not even displayed when useEmailAsUsername is set to true?  Ideally you could choose wich field to display when adding a users field.
outline4
CC BY-SA 3.0
2017-02-02T06:50:11.133Z
2017-02-02T06:50:11.133Z
Brad Bell
<p>Is there a way to do this? Emails are pretty ugly when selecting people.</p>

<p>I'm guessing it would be a quick plugin to write, if I wrote plugins. Anyone done this before?</p>

<users>
Display User Name in Users Field in CP
# Display User Name in Users Field in CP

(Asked by: username_0 on 2017-02-01)

Is there a way to do this? Emails are pretty ugly when selecting people.

I'm guessing it would be a quick plugin to write, if I wrote plugins. Anyone done this before?

**Tags:** users

---

## 1 answers

### Answer by username_1 on 2017-02-02. Score: 1

The [Users field](https://craftcms.com/docs/users-fields) uses the username for the display label by default when showing what users have been selected.

My guess is you've got the [useEmailAsUsername](https://craftcms.com/docs/config-settings#useEmailAsUsername) config setting set to `true`?

> **Comments:**
> **username_2**: I have the same problem. I could see changing the username field by hand, but I guess this field is not even displayed when useEmailAsUsername is set to true?  Ideally you could choose wich field to display when adding a users field.  

---

