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 #183

Closed DavidGolodetsky closed 3 years ago

DavidGolodetsky commented 3 years ago

Actual: I can create games with the same name.

image

Expected: Game name should be unique.

Acceptance criteria:

  1. If the game name isn't unique, then the warning message should appear under the game's name field, and the form shouldn't be valid, the user can't proceed.
  2. Once the issue is fixed, the form should be valid and the user can proceed.
Miru5 commented 3 years ago

Hi, can you assign this to me?

DavidGolodetsky commented 3 years ago

sure. good luck and thanx for the help:)

Miru5 commented 3 years ago

Glad I helped :)