From ec5e1e1e9a3e444b6b637b6de53b7d6f62d03e42 Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Fri, 22 Jan 2021 17:44:18 +0100 Subject: [PATCH] Using the same disabled effect on dropdowns as on the flat input boxes --- shared/js/ui/react-elements/InputField.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/shared/js/ui/react-elements/InputField.tsx b/shared/js/ui/react-elements/InputField.tsx index ae3c9a1e..a1bae6f1 100644 --- a/shared/js/ui/react-elements/InputField.tsx +++ b/shared/js/ui/react-elements/InputField.tsx @@ -451,7 +451,12 @@ export class Select extends React.Component render() { const disabled = typeof this.state.disabled === "boolean" ? this.state.disabled : typeof this.props.disabled === "boolean" ? this.props.disabled : false; return ( -
+
{this.props.label ? : undefined}