Skip to content

Commit

Permalink
Fix covering placeholder in routine field
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienMattiussi committed Nov 23, 2023
1 parent a95c028 commit 9417eb2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/js/fields/sourceValue/SourceValuePrecomputed.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const SourceValuePrecomputed = ({
setAutocompleteValue(value);
}, [value]);
const [openRoutineCatalog, setOpenRoutineCatalog] = React.useState(false);
const [valueInput, setValueInput] = React.useState(routine);
const [valueInput, setValueInput] = React.useState(routine || '');

const handleChangePrecomputed = (event, value) => {
setAutocompleteValue(value);
Expand Down Expand Up @@ -107,8 +107,8 @@ const SourceValuePrecomputed = ({
isOpen={openRoutineCatalog}
handleClose={() => setOpenRoutineCatalog(false)}
onChange={handleChangeRoutine}
currentValue={value}
/>{' '}
currentValue={routine}
/>
</Box>
</Box>
);
Expand Down

0 comments on commit 9417eb2

Please sign in to comment.