- 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:
@@ -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,
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user