From 5952fb458f3e794425c04c2b9474880ac311b9b1 Mon Sep 17 00:00:00 2001 From: jfrye122 Date: Mon, 22 May 2023 08:44:01 -0400 Subject: [PATCH] fixed jobselect dropdown not clearing on clockin --- components/Selects/select-job-id.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/Selects/select-job-id.jsx b/components/Selects/select-job-id.jsx index 404888e..2e438c7 100644 --- a/components/Selects/select-job-id.jsx +++ b/components/Selects/select-job-id.jsx @@ -136,7 +136,7 @@ export function JobIdSearchSelect( onFocus={() => setIsFocus(true)} onBlur={() => setIsFocus(false)} data={selectorData} - value={selectedvalue} //{selectedvalue} + value={props.currentValue?.value} //{selectedvalue} onChange={(item) => props.onJobSelected(item)}//TODO: add setIsFocus(false); to this // { // console.log("onValueSelected!!!!");