title: Clear Icon along with loading Icon on PrimeNG Autocomplete
body: <p>I would like to customize the X icon on the p-autocomplete component, in order to get this:</p>
  
  <p><strong>Loading suggestions phase:</strong></p>
  
  <p><a href="https://i.stack.imgur.com/0AhKQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0AhKQ.png" alt="enter image description here"></a></p>
  
  <p><strong>Done loading suggestions:</strong></p>
  
  <p><a href="https://i.stack.imgur.com/oqAdG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oqAdG.png" alt="enter image description here"></a></p>
  
  <p>The only thing that i'm getting right now is this:</p>
  
  <p><a href="https://i.stack.imgur.com/iMLVG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/iMLVG.png" alt="enter image description here"></a></p>
  
  <p>The X icon doesn't move to the right, even if the primeng loading icon is not visible.
  The only thing i was able to achieve was this:</p>
  
  <p><a href="https://i.stack.imgur.com/tgC0i.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tgC0i.png" alt="enter image description here"></a></p>
  
  <pre><code>input[type="search"] {
    padding-right:0px!important;
  }
  </code></pre>
  
  <p>I know that i can customize the X icon by using</p>
  
  <pre><code>input[type="search"]::-webkit-search-cancel-button {
    ...
  }
  </code></pre>
  
  <p>But i don't know how.
  Any suggestions?</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>This is how you achieve to show the X icon:</p>
  
  <pre><code>&lt;p-autocomplete ... [type]="'search'"&gt;&lt;/p-autocomplete&gt;
  </code></pre>