diff --git a/src/app/components/common/FieldInputLabel/index.tsx b/src/app/components/common/FieldInputLabel/index.tsx index 6fe1a6fd..10f47370 100644 --- a/src/app/components/common/FieldInputLabel/index.tsx +++ b/src/app/components/common/FieldInputLabel/index.tsx @@ -4,6 +4,7 @@ import InputLabel from '@material-ui/core/InputLabel'; type Props = { label?: string; + for: string; }; const BaseInputLabel = styled((props) => )` diff --git a/src/app/components/inputs/selects/AsyncSelect/index.tsx b/src/app/components/inputs/selects/AsyncSelect/index.tsx index 4dbcb991..cfe93961 100644 --- a/src/app/components/inputs/selects/AsyncSelect/index.tsx +++ b/src/app/components/inputs/selects/AsyncSelect/index.tsx @@ -49,8 +49,9 @@ async function loadOptions(search, loadedOptions, { page }, pivot) { export const AsyncSelect = (props: any) => { return ( <> - + { }} /> - {props.helperText && } + {props.helperText && } {props.helperTextLink && props.helperTextUrl && ( { `} data-cy={props.data_cy} > - +