fixed jobselect dropdown not clearing on clockin

This commit is contained in:
jfrye122
2023-05-22 08:44:01 -04:00
parent bfe749fc54
commit 5952fb458f

View File

@@ -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!!!!");