From 5844c488f35e854ab9db15ccbb4f8896ef08d0ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivar=20Conradi=20=C3=98sthus?= Date: Fri, 7 Aug 2020 11:25:24 +0200 Subject: [PATCH] fix: add disabled propertu to select --- frontend/src/component/common/select.jsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/src/component/common/select.jsx b/frontend/src/component/common/select.jsx index fd193c55a4..9139293d7b 100644 --- a/frontend/src/component/common/select.jsx +++ b/frontend/src/component/common/select.jsx @@ -1,7 +1,7 @@ import React from 'react'; import PropTypes from 'prop-types'; -const Select = ({ name, value, label, options, style, onChange, filled }) => { +const Select = ({ name, value, label, options, style, onChange, disabled = false, filled }) => { const wrapper = Object.assign({ width: 'auto' }, style); return (
{