OPSI WebGUI Unintuitive behavior when deselecting a custom ProductProperty value in dropdown

Antworten
fried
Beiträge: 1
Registriert: 18 Apr 2024, 08:35

OPSI WebGUI Unintuitive behavior when deselecting a custom ProductProperty value in dropdown

Beitrag von fried »

We observed unexpected and unintuitive behavior when interacting with a ProductProperty defined in control.toml.

Given the following property:

Code: Alles auswählen

[[ProductProperty]]
type = "unicode"
name = "username"
multivalue = false
editable = true
description = "Username which has to be used as windows username"
values = [""]
default = [""]
Current behaviour:
  • When a user manually adds a value (e.g. a custom username), it appears in the dropdown.
  • If the dropdown is collapsed, the value is highlighted in blue — suggesting it is selected.
  • Clicking this value again triggers a "value changed successfully" message.
  • However, the value is not changed, but deleted — without confirmation or any clear visual hint that the action removes the value.
This is confusing and unintuitive, especially since success feedback implies a valid change, not a removal.


Suggested improvement
  • An icon or label indicating that clicking again will remove the value.
  • A confirmation dialog before deleting a user-added value.
  • Alternatively, a separate remove button to distinguish between selection and deletion.

Example images
Bildschirmfoto 2025-06-11 um 15.39.35.png
Bildschirmfoto 2025-06-11 um 15.39.35.png (7.42 KiB) 341 mal betrachtet
Bildschirmfoto 2025-06-11 um 15.43.31.png
Bildschirmfoto 2025-06-11 um 15.43.31.png (6.4 KiB) 341 mal betrachtet
Bildschirmfoto 2025-06-11 um 15.40.09.png
Bildschirmfoto 2025-06-11 um 15.40.09.png (17.49 KiB) 341 mal betrachtet
Antworten