Added search clear funtionalies
This commit is contained in:
parent
e8488df615
commit
a2bdb67940
|
|
@ -1204,6 +1204,7 @@ export default function BSC1Search(props) {
|
|||
let ProdNamedata = ProductList?.find((item) => item.ProdName === data);
|
||||
const removedDefault = removeDefaultVariantStock(ProdNamedata);
|
||||
setSelectedProduct(removedDefault);
|
||||
formRef.current.resetFields(['ItemName']);
|
||||
};
|
||||
const ProductSelected = (item) => {
|
||||
if (item.OverAllExpStatus == 'Y') {
|
||||
|
|
|
|||
Loading…
Reference in New Issue