I have an input field in my application and I need to place a permanent label beside entered text in that input field. Also, the styles
of the label
to be placed are different from that of the entered text. Something like as shown below,
I tried replicating the behavior here. I am able to place a label beside the entered text, but I want the label to also move forward as the characters are being typed in the input box. Currently, my entered text comes on top of the label placed, as shown below-
I found a similar question here, but in the suggested answer, the label doesn't move with the entered text.
How can I achieve this behavior? Thanks a lot in advance!