diff options
Diffstat (limited to 'web/source/settings/components/form')
-rw-r--r-- | web/source/settings/components/form/inputs.jsx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/web/source/settings/components/form/inputs.jsx b/web/source/settings/components/form/inputs.jsx index 19386b6f2..8694d7b73 100644 --- a/web/source/settings/components/form/inputs.jsx +++ b/web/source/settings/components/form/inputs.jsx @@ -22,7 +22,6 @@ const React = require("react"); function TextInput({ label, field, ...inputProps }) { const { onChange, value, ref } = field; - console.log(field.name, field.valid, field.value); return ( <div className={`form-field text${field.valid ? "" : " invalid"}`}> @@ -93,13 +92,13 @@ function Checkbox({ label, field, ...inputProps }) { ); } -function Select({ label, field, options, ...inputProps }) { +function Select({ label, field, options, children, ...inputProps }) { const { onChange, value, ref } = field; return ( <div className="form-field select"> <label> - {label} + {label} {children} <select {...{ onChange, value, ref }} {...inputProps} |