Skip to content

Commit

Permalink
Fix Android keyboard autocomplete bug
Browse files Browse the repository at this point in the history
Closes #52
  • Loading branch information
kuroski committed Apr 26, 2020
1 parent 2d4c8b8 commit b210f0f
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 212 deletions.
6 changes: 3 additions & 3 deletions frontend/components/doctor/DoctorPatientStatusModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,11 @@ export default {
step: 1,
isLoading: false,
onGoing: {
message: null
message: ''
},
finished: {
message: null,
outcome: null
message: '',
outcome: ''
}
}),
validations: {
Expand Down
1 change: 0 additions & 1 deletion frontend/nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ export default {
** Plugins to load before mounting the App
*/
plugins: [
'~/plugins/v-eager',
'~/plugins/vuetify-toast',
'~/plugins/vuelidate',
'~/plugins/vue-the-mask',
Expand Down
1 change: 0 additions & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
}
},
"dependencies": {
"@kuroski/v-eager": "^1.0.0",
"@nuxtjs/auth": "^4.9.0",
"@nuxtjs/axios": "^5.3.6",
"@nuxtjs/dotenv": "^1.4.0",
Expand Down
34 changes: 13 additions & 21 deletions frontend/pages/screening-room.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@

<v-text-field
id="name"
name="name"
v-model="$v.myData.name.$model"
v-eager
:error-messages="nameErrors"
label="Nome*"
required
Expand Down Expand Up @@ -76,7 +74,6 @@
<v-text-field
id="meds"
v-model="medicalInformations.meds"
v-eager
label="Você faz uso de algum remédio todos os dias? Quais?"
hint="Exemplo: Enalapril, Metformina, AAS"
autofocus
Expand All @@ -85,15 +82,13 @@
<v-text-field
id="allergies"
v-model="medicalInformations.allergies"
v-eager
label="Você tem alguma alergia? Quais?"
hint="Exemplo: Dipirona, Penicilina, Paracetamol"
></v-text-field>

<v-text-field
id="covenant"
v-model="medicalInformations.covenant"
v-eager
label="Você tem algum convênio de saúde? Qual?"
hint="Cite seu convênio"
></v-text-field>
Expand Down Expand Up @@ -145,7 +140,6 @@
<v-text-field
id="email"
v-model="contact.email"
v-eager
label="Email"
></v-text-field>

Expand All @@ -166,14 +160,12 @@
<v-text-field
id="hangout"
v-model="contact.hangout"
v-eager
label="Hangouts"
></v-text-field>

<v-text-field
id="skype"
v-model="contact.skype"
v-eager
label="Skype"
></v-text-field>

Expand Down Expand Up @@ -216,24 +208,24 @@ export default {
showReadModesSheet: true,
checkedFacilities: {},
myData: {
name: null,
age: null,
cpf: null,
cep: null
name: '',

This comment has been minimized.

Copy link
@rodrigogs

rodrigogs Apr 26, 2020

Owner

Rly?

age: '',
cpf: '',
cep: ''
},
medicalInformations: {
meds: null,
allergies: null,
covenant: null,
meds: '',
allergies: '',
covenant: '',
hasBeenAssisted: false
},
contact: {
phone: null,
email: null,
whatsapp: null,
telegram: null,
hangout: null,
skype: null
phone: '',
email: '',
whatsapp: '',
telegram: '',
hangout: '',
skype: ''
}
}),
validations: {
Expand Down
3 changes: 0 additions & 3 deletions frontend/plugins/v-eager.js

This file was deleted.

Loading

0 comments on commit b210f0f

Please sign in to comment.