DEV Community

Siam Ahnaf
Siam Ahnaf

Posted on

When I focus another form input field it remove active class previous field Where I typed some value?

I create this form in next js. I want to add active class to label tag When I focused on input field. I can do it successfully. But I am still facing one problem.

I want to keep active class when I typed something in input field. But When I…

Top comments (0)