I found how to add an icon to a button, I wish it was as simple for an input.
I want to do something similar to
I managed to achieve this result, using ChatGPT to help me figure out the HTML/CSS to use.
Pure HTML code:
<div style="display: flex; align-items: center;">
<input type="password" placeholder="Password" style="flex: 1;">
<i class="fa fa-eye" style="margin-left: -25px;"></i>
</div>
Tweaking this a bit with Custom CSS, I managed to achieve what I wanted.
But, I’m pretty sure it could be done properly using only weweb component controls, instead of writing custom CSS.