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

Kai Reinhard
15.39.2019 0fbc8e9c582389a6ff5be15ae16265d62d87ea22
FormLabelField uses now props.name as forId, reviseRandId seems not to work very stable...
1 files modified
2 ■■■ changed files
borgbutler-webapp/src/components/general/forms/FormComponents.jsx 2 ●●● patch | view | raw | blame | history
borgbutler-webapp/src/components/general/forms/FormComponents.jsx
@@ -158,7 +158,7 @@
const FormLabelField = (props) => {
    const forId = props.children.props.id || props.htmlFor || revisedRandId();
    const forId = props.children.props.id || props.children.props.name || props.htmlFor || revisedRandId();
    return (
        <FormGroup>
            <FormLabel length={props.labelLength} htmlFor={forId}>