DavidGolodetsky / GeekScore

A PWA for board games fans. It allows you to store your games, create teams, and collect statistics. It's built with MEVN stack, using Vue.js 2 and Vuetify.
https://geekscore.herokuapp.com
MIT License
8 stars 33 forks source link

Add validation on game name uniqueness when editing game info #196

Closed DavidGolodetsky closed 2 years ago

DavidGolodetsky commented 3 years ago

"Actual:" I cannot create a game with the same name, but I can edit it, so they would have the same name.

https://user-images.githubusercontent.com/32278933/138418290-6cb599be-6b0d-4b08-9f5a-d0b0d4692b8c.mov

"Expected:" I cannot have the same name when I'm editing the game. The validation warning should appear and the form "submit" button will be dissabled.

"Tech notes:" This issue is related to #183 . You should be able to reuse the same logic from there

vijaykrishna536 commented 2 years ago

Hi @DavidGolodetsky Would like to work on this issue thank you