We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
radio
radiobutton
1 parent 3becf7a commit c60e1f4Copy full SHA for c60e1f4
src/common/components/forms/user/AvatarForm.js
@@ -212,6 +212,7 @@ class AvatarForm extends Component {
212
label="Store avatar into"
213
name="storage"
214
component={FormField}
215
+ type="radiobutton"
216
options={[{
217
label: 'Firebase',
218
value: 'firebase',
src/common/components/utils/BsForm.js
@@ -82,7 +82,7 @@ let BsFormField = ({
82
<pre>Recaptcha is disabled</pre>
83
);
84
/* eslint-enable */
85
- } else if (options) {
+ } else if (type === 'radiobutton') {
86
// ref: <https://github.com/erikras/redux-form/issues/1857#issuecomment-249890206>
87
formControl = (
88
options.map((option) => (
0 commit comments