mirror of https://github.com/micromata/borgbackup-butler.git

Kai Reinhard
19.32.2018 317a954fe59905f364920605914184d6a9ab1163
borgbutler-webapp/src/components/general/forms/FormSelect.jsx
@@ -50,9 +50,11 @@
    } else {
        label = props.label || props.value;
    }
    const {value, ...other} = props;
    return (
        <React.Fragment>
            <option value={props.value}
                    {...other}
            >
                {label}
            </option>
@@ -63,7 +65,8 @@
FormSelect.propTypes = {
    value: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]),
    i18nKey: PropTypes.string,
    label: PropTypes.string
    label: PropTypes.string,
    disabled: PropTypes.bool
};
export {