Skip to content

Commit c60e1f4

Browse files
committed
Update field type radio to radiobutton
1 parent 3becf7a commit c60e1f4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/common/components/forms/user/AvatarForm.js

+1
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ class AvatarForm extends Component {
212212
label="Store avatar into"
213213
name="storage"
214214
component={FormField}
215+
type="radiobutton"
215216
options={[{
216217
label: 'Firebase',
217218
value: 'firebase',

src/common/components/utils/BsForm.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ let BsFormField = ({
8282
<pre>Recaptcha is disabled</pre>
8383
);
8484
/* eslint-enable */
85-
} else if (options) {
85+
} else if (type === 'radiobutton') {
8686
// ref: <https://github.com/erikras/redux-form/issues/1857#issuecomment-249890206>
8787
formControl = (
8888
options.map((option) => (

0 commit comments

Comments
 (0)