msupply-foundation / open-msupply

Open mSupply represents our most recent advancement in the Logistics Management Information System (LMIS), expanding on more than two decades of development inherited from the well-established legacy of the original mSupply.
https://msupply.foundation/open-msupply/
Other
23 stars 15 forks source link

iSC/Cold chain/GAPS: cannot remove manufacturer once selected in item variants #5498

Open marthakeezy opened 2 days ago

marthakeezy commented 2 days ago

What went wrong? 😲

When adding a new item variant, there is an option to specify the manufacturer. Once selected, the user cannot remove it - backspacing and clicking on the screen results in the selection coming back, and the usual X is missing from the field too

https://github.com/user-attachments/assets/e101e51b-d631-4351-a918-473a9ab1b3e8

Expected behaviour 🤔

Should be able to remove selection

How to Reproduce 🔨

Steps to reproduce the behaviour:

  1. Go to Catalogue -> Items -> Variants
  2. Add a new variant
  3. Select a manufacturer - note you cannot remove your selection

Your environment 🌱

jmbrunskill commented 23 hours ago

I think this is livable for now, the work around if you accidentally set one is to close the component.