I have an input element without label, instead I use placeholder. I want to show required asterisk within input or in any other elegant way.
How to do that? The metronic documentation only shows the way for label input but there's no example for input without label.
Hi,
You can use the below code to display the symbol inside the input:
<div class="position-relative">
<div class="required position-absolute top-0"></div>
<input type="email" class="form-control form-control-solid" placeholder="Example input">
</div>