Skip to content

Commit 988a91e

Browse files
committed
Merge remote-tracking branch 'origin/yadnesh-dev' into archis-dev
2 parents 662b4bf + 3d5b322 commit 988a91e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/CustomAutoComplete.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export const CustomAutoComplete: React.FC<any> = (props) => {
3131

3232
const { value, onChange, options, label, name } = props
3333

34-
const [ value1, setValue1] = React.useState(null);
34+
const [ value1, setValue1] = React.useState(options.find((o:any)=>o===value));
3535

3636
return (
3737
<Autocomplete

0 commit comments

Comments
 (0)