fix: radio focus blur not work
parent
db7826ba64
commit
84fb8168f0
|
@ -22,6 +22,8 @@ export default {
|
||||||
autofocus: Boolean,
|
autofocus: Boolean,
|
||||||
type: PropTypes.string.def('radio'),
|
type: PropTypes.string.def('radio'),
|
||||||
onChange: PropTypes.func,
|
onChange: PropTypes.func,
|
||||||
|
onFocus: PropTypes.func,
|
||||||
|
onBlur: PropTypes.func,
|
||||||
'onUpdate:checked': PropTypes.func,
|
'onUpdate:checked': PropTypes.func,
|
||||||
'onUpdate:value': PropTypes.func,
|
'onUpdate:value': PropTypes.func,
|
||||||
},
|
},
|
||||||
|
|
|
@ -11,7 +11,7 @@ export default {
|
||||||
setup() {
|
setup() {
|
||||||
return {
|
return {
|
||||||
configProvider: inject('configProvider', ConfigConsumerProps),
|
configProvider: inject('configProvider', ConfigConsumerProps),
|
||||||
radioGroupContext: inject('radioGroupContext'),
|
radioGroupContext: inject('radioGroupContext', {}),
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
render() {
|
render() {
|
||||||
|
|
Loading…
Reference in New Issue