Supplier Name}
options={supplierOptions?.map(item => ({
value: item.SuppId,
label: item.SuppName ?? item.SuppMobile ?? "No Name"
}))}
valueData={modalSelectedSupplier}
onChangeFunction={handleModelSuplaierOnChange}
isOnchanges={false}
alphabetfilter="Yes"
/>
{modalSelectedSupplier && (
Product Name}
options={productOptions.map(item => {
const size = (item.Size === null ? "" : " (" + item.Size + " " + (item.UomName === null ? "" : item.UomName) + ") ")
const brand = item.BrandName === null ? "" : item.BrandName
return {
value: item.ProdId,
label: item.ProdName + size + brand
}
})}
valueData={modalSelectedProduct}
onChangeFunction={handleModelProductOnChange}
isOnchanges={false}
alphabetfilter="Yes"
/>
)}