hotwax / inventory-count

HotWax Commerce Inventory Count
Apache License 2.0
16 stars 66 forks source link

Saved Mapping Chip Persists After Manual Mapping Even When No Columns Match #490

Open Adameddy26 opened 4 weeks ago

Adameddy26 commented 4 weeks ago

Current behavior

Even after selecting a saved mapping that has no matching columns in the uploaded file. The saved mapping chip remains selected, despite the toast message indicating no matches.

Expected behavior

If a user selects a saved mapping and no columns from the uploaded file match any saved mapping columns, then: The chip for the saved mapping should be automatically deselected.

Steps to reproduce the issue

In the bulk upload, upload a file with columns that do not match any columns in the saved mapping. Select a saved mapping. Observe that a toast message appears, indicating no columns match. Manually map the mandatory fields with the columns from the uploaded file. Notice that the saved mapping chip remains selected.

Environment details

App version : v2.2.0 App environment : UAT

Additional information

https://jam.dev/c/ffb49624-c297-49e8-9a41-2b8358748ed5