0
How to add legend to input, when user input a letter?
Like label but in a form of legend. https://code.sololearn.com/W4qA3Jq0h8JD/?ref=app
1 Answer
+ 1
I'm not sure what you want to do đ
To display the legend on user input, You have to create a JavaScript event with oninput.
Display the legend if event.target is not empty.