🐛 Fix chrome autofill issue (#2294)

This commit is contained in:
Mutasem Aldmour 2021-10-14 01:39:05 +02:00 committed by GitHub
parent e296b02185
commit d49aa18717
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,7 @@
<template>
<div @keydown.stop :class="$style.container" v-if="credentialProperties.length">
<div v-for="parameter in credentialProperties" :key="parameter.name">
<form v-for="parameter in credentialProperties" :key="parameter.name" autocomplete="off">
<!-- Why form? to break up inputs, to prevent Chrome autofill -->
<ParameterInputExpanded
:parameter="parameter"
:value="credentialData[parameter.name]"
@ -8,7 +9,7 @@
:showValidationWarnings="showValidationWarnings"
@change="valueChanged"
/>
</div>
</form>
</div>
</template>