I don't follow you, a name is text.
Do you mean for displaying multiple names? In that case you would need to add a multipleSeparator property to the editbox or dojoTextBox.
If you could provide a code sample, perhaps that would make it easier to help figure this out.