fixed jobselect dropdown not clearing on clockin
This commit is contained in:
@@ -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!!!!");
|
||||
|
||||
Reference in New Issue
Block a user