@@ -1,6 +1,7 @@
|
||||
<template>
|
||||
<div class="toggle-switch">
|
||||
<label class="toggle-switch__label">
|
||||
<span class="toggle-switch__text">{{ label }}</span>
|
||||
<button
|
||||
type="button"
|
||||
:disabled="disabled"
|
||||
@@ -15,7 +16,6 @@
|
||||
}"
|
||||
/>
|
||||
</button>
|
||||
<span class="toggle-switch__text">{{ label }}</span>
|
||||
</label>
|
||||
<div v-if="error" class="toggle-switch__error dir-rtl" :class="{ 'animate-shake': vibration }">
|
||||
{{ error }}
|
||||
|
||||
Reference in New Issue
Block a user