- se iOS non ricarica la pagina ma disinstalla il SW precedente e chiede di riavviare

- fixed: Creando un Conto di Gruppo, pare che venga impostato anche l'username... invece dev'essere solo il groupname
-
This commit is contained in:
Surya Paolo
2023-10-03 23:17:02 +02:00
parent c02037b35c
commit 018cf0bd99
11 changed files with 72 additions and 30 deletions

View File

@@ -38,6 +38,8 @@ export default defineComponent({
const refPassword = ref(null)
const loading = ref(false)
const autoCompleteTriggered = ref(true)
const wasblank = ref(false)
const site = computed(() => {
return globalStore.site
@@ -158,6 +160,20 @@ export default defineComponent({
typePassword.value = typePassword.value === 'password' ? 'text' : 'password'
}
function checkAutoCompletion() {
// Check if the password field value changes without user input
if (signin.value.password.length <= 2) {
wasblank.value = true
autoCompleteTriggered.value = false;
}
if (signin.value.password.length > 0 && !autoCompleteTriggered.value && !wasblank.value) {
// Auto-completion was executed
console.log('Auto-completion executed.');
autoCompleteTriggered.value = true;
}
}
created()
return {
@@ -172,6 +188,8 @@ export default defineComponent({
showPassword,
typePassword,
enablePwa,
checkAutoCompletion,
autoCompleteTriggered,
}
},
})