Snippet call from the Atlas default Layout

as I made the snippet call from the page the call is happened and retrieved the current user,when coming to UI it is displaying with the whit space to remove that white space as to show the name itself on the UI. and I am getting this error while calling the snippet from the Atlas Default layout.  
1 answers

There are two ways to solve this:

  1. Use a text widget to display the name.
  2. If you don’t want to use text widget then you can change the read only style to Text instead of Control.