mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-25 09:20:36 +01:00
fix(forms)!: bind $attrs to elements (#279)
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
type="radio"
|
||||
class="form-radio"
|
||||
:class="[ui.base, ui.custom]"
|
||||
v-bind="$attrs"
|
||||
@focus="$emit('focus', $event)"
|
||||
@blur="$emit('blur', $event)"
|
||||
>
|
||||
@@ -39,6 +40,7 @@ import appConfig from '#build/app.config'
|
||||
// const appConfig = useAppConfig()
|
||||
|
||||
export default defineComponent({
|
||||
inheritAttrs: false,
|
||||
props: {
|
||||
value: {
|
||||
type: [String, Number, Boolean],
|
||||
|
||||
Reference in New Issue
Block a user