I have a very basic custom list which contains a few People Picker fields. The very first people picker column is called "Name", and I want it to be filled automatically with the current logged user when opens NewForm.aspx
The rest of the other People Picker fields shall be manually filled, My need is only to populate the very first field value.
I have this script below which gets me the value of the current logged user and populates into the first people picker:
But, I am quite unsatisfied with it because it does not work properly with other web browsers as you can see the screenshot below it is very fuzzy value in Edge and Chrome:
Could you please help me out? Is there any better code or change I could do to get better result in all browsers?