Dear Rails community,
I am quite new to Rails and came to it because the inclusion of hotwire in rails7 totally convinced me. Still, I need some help to get started:
I set up devise for user registration and authentication. On my registration form, I have a field where the user can choose a username. Next to that username field, I have a SVG icon which is supposed to show if the username is already taken or still free. I’d like it to update live as the user types.
I understand the concepts of turbo drive and turbo frames, and I guess I will need stimulus to do the debounce calls to check the username availability with the server. But unfortunately, I have no idea how to go about this.
I’d be very thankful if someone could point me in the right direction.