We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db7826b commit 84fb816Copy full SHA for 84fb816
components/radio/Radio.jsx
@@ -22,6 +22,8 @@ export default {
22
autofocus: Boolean,
23
type: PropTypes.string.def('radio'),
24
onChange: PropTypes.func,
25
+ onFocus: PropTypes.func,
26
+ onBlur: PropTypes.func,
27
'onUpdate:checked': PropTypes.func,
28
'onUpdate:value': PropTypes.func,
29
},
components/radio/RadioButton.jsx
@@ -11,7 +11,7 @@ export default {
11
setup() {
12
return {
13
configProvider: inject('configProvider', ConfigConsumerProps),
14
- radioGroupContext: inject('radioGroupContext'),
+ radioGroupContext: inject('radioGroupContext', {}),
15
};
16
17
render() {
0 commit comments