thiagohora / COMP47910-project

0 stars 1 forks source link

Country field restricted to two characters #1

Open fft-ucd opened 1 year ago

fft-ucd commented 1 year ago

ENHANCEMENT Country field restricted to two characters

thiagohora commented 1 year ago

This was meant to be the country code just for simplicity

fft-ucd commented 1 year ago

perhaps I can change the field label to Country Code?

thiagohora commented 1 year ago

Done

fft-ucd commented 1 year ago

I saw the commit, I restarted everything but it still says Country for me - let me have another look... I just need an infusion of caffeine first

fft-ucd commented 1 year ago

I stand corrected. I see the change you made to BookRoom.vue and I can see the correct label. I was looking at the Registration page where it still says Country, I edited the relevant Placeholder value in RegisterView.vue and managed to change that too.

fft-ucd commented 1 year ago

As discussed in line 24 of RegisterView we could change the placeholder

fft-ucd commented 1 year ago

<input id="country" v-model="user.country" type="text" placeholder="Country Code" class="form-control" maxlength="2" required>