Fix error message reset
This commit is contained in:
parent
cf82f550b7
commit
9bad471bf3
1 changed files with 5 additions and 3 deletions
|
@ -150,9 +150,11 @@ const setErrorMessage = (messageId, messageType) => {
|
|||
}
|
||||
return true;
|
||||
};
|
||||
const resetErrorMessage = () => {
|
||||
const resetFloatingErrorMessage = () => {
|
||||
errorMessageId.value = '';
|
||||
|
||||
};
|
||||
const resetErrorMessage = () => {
|
||||
resetFloatingErrorMessage();
|
||||
separatorErrorMessageId.value = '';
|
||||
localPartErrorMessageId.value = '';
|
||||
addrKeyErrorMessageId.value = '';
|
||||
|
@ -165,7 +167,7 @@ const resetErrorMessage = () => {
|
|||
|
||||
<div class="alert alert-danger alert-dismissible fade show" role="alert" v-if="errorMessageId">
|
||||
{{ $t(errorMessageId) }}
|
||||
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close" @click="resetErrorMessage"></button>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close" @click="resetFloatingErrorMessage"></button>
|
||||
</div>
|
||||
|
||||
<div class="mb-3">
|
||||
|
|
Loading…
Reference in a new issue