metasfresh / metasfresh-webui-frontend-legacy

metasfresh Webui Frontend
GNU General Public License v2.0
57 stars 34 forks source link

Clicking in field w/ 1 value in dropdown sets the value directly #1628

Closed metas-dh closed 6 years ago

metas-dh commented 6 years ago

Is this a bug or feature request?

Bug, i think

What is the current behavior?

If you have a dropdown w/ only 1 value in a field, e.g. pricelist in bpartner window, then clicking or double clicking in that field just sets the value, the dropdown does not open and you cannot properly select the value. Likewise, you cannot set the value back, since you don't get the "empty" option from dropdown.

Which are the steps to reproduce?

  1. Open bpartner window
  2. Select a bpartner that is not customer yet, make sure you have only 1 customer pricelist
  3. Set customer=Y in the resp. tab, and double click in pricelist field: => customer pricelist is set directly, no dropdown opens for you to select
  4. Try setting the value back to no pricelist: => not possible, dropdown does not open

    What is the expected or desired behavior?

    Value shall be set after selecting it from dropdown, setting it back shall be possible.

siemiatj commented 6 years ago

Related task #1622

metas-rc commented 6 years ago

Results of IT

Tested on webui

I repeated the test case from the issue and it works fine:

metas-ts commented 6 years ago

:cherries: to release

metas-rc commented 6 years ago
metas-rc commented 6 years ago

Some other problems found while testing