Commit fc822fe8 authored by Geass's avatar Geass Committed by hetech

RadioGroup: not produce invalid HTML in table if "is" attribute is specify (#17070)

parent 77c77efb
<template>
<div
<component
:is="_elTag"
class="el-radio-group"
role="radiogroup"
@keydown="handleKeydown"
>
<slot></slot>
</div>
</component>
</template>
<script>
import Emitter from 'element-ui/src/mixins/emitter';
......@@ -41,6 +42,9 @@
_elFormItemSize() {
return (this.elFormItem || {}).elFormItemSize;
},
_elTag() {
return (this.$vnode.data || {}).tag || 'div';
},
radioGroupSize() {
return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment