diff --git a/.eslintrc.json b/.eslintrc.json index 69a674b7a..56319633d 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -33,6 +33,7 @@ "printWidth": 100, "singleQuote": true }], - "func-names": ["warn", "as-needed"] + "func-names": ["warn", "as-needed"], + "jsx-a11y/label-has-for": 0 } } diff --git a/src/renderer/component/common/form-components/form-field.jsx b/src/renderer/component/common/form-components/form-field.jsx index 39f57dc9a..212982299 100644 --- a/src/renderer/component/common/form-components/form-field.jsx +++ b/src/renderer/component/common/form-components/form-field.jsx @@ -74,7 +74,11 @@ export class FormField extends React.PureComponent { {error} )} -
+
{prefix && (