hugosaintemarie / magic-maze

Online version of board game "Magic Maze"
https://magicmaze.herokuapp.com
MIT License
20 stars 11 forks source link

Use unique element names to differentiate what the player is doing #70

Closed rcjsuen closed 3 years ago

rcjsuen commented 3 years ago

Multiple input elements were named nickname which meant that the input in one field would overwrite the input of another field. Assigning the input elements a unique id for each game room fixes this problem.

rcjsuen commented 3 years ago

This fixes #48.

hugosaintemarie commented 3 years ago

Hello @rcjsuen, thank you for your PR!

Just out of curiosity, what other element had the ID nickname? 🤔

Never mind, the issue clears it up. Thanks 🙂