mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-19 14:31:47 +01:00
fix(FormGroup): prevent input click from propagating to label (#651)
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
|
||||
<p v-if="description" :class="[ui.description, size]">{{ description }}</p>
|
||||
|
||||
<div :class="[label ? ui.container : '']">
|
||||
<div :class="[label ? ui.container : '']" @click="$event.preventDefault()">
|
||||
<slot v-bind="{ error }" />
|
||||
|
||||
<p v-if="error && typeof error !== 'boolean'" :class="[ui.error, size]">{{ error }}</p>
|
||||
|
||||
Reference in New Issue
Block a user