fixed jobselect dropdown not clearing on clockin
This commit is contained in:
@@ -136,7 +136,7 @@ export function JobIdSearchSelect(
|
|||||||
onFocus={() => setIsFocus(true)}
|
onFocus={() => setIsFocus(true)}
|
||||||
onBlur={() => setIsFocus(false)}
|
onBlur={() => setIsFocus(false)}
|
||||||
data={selectorData}
|
data={selectorData}
|
||||||
value={selectedvalue} //{selectedvalue}
|
value={props.currentValue?.value} //{selectedvalue}
|
||||||
onChange={(item) => props.onJobSelected(item)}//TODO: add setIsFocus(false); to this
|
onChange={(item) => props.onJobSelected(item)}//TODO: add setIsFocus(false); to this
|
||||||
// {
|
// {
|
||||||
// console.log("onValueSelected!!!!");
|
// console.log("onValueSelected!!!!");
|
||||||
|
|||||||
Reference in New Issue
Block a user