RotherOSS / otobo

OTOBO is one of the most flexible web-based ticketing systems used for Customer Service, Help Desk, IT Service Management. https://otobo.io/
GNU General Public License v3.0
263 stars 75 forks source link

[BUG] DynamicField label in front of the value in CustomerUserInterface in DynamicField_Lens #3944

Open AlexanderOesterling-OTOBO opened 4 days ago

AlexanderOesterling-OTOBO commented 4 days ago

Environment

Expected behavior

I am in CustomerTicketMessage and select a value of a DynamicField_Reference. I have a DynamicField_Lens that refereneces to a attribute of that selected object in the DynamicField_Reference.

Now the DynamicField_Lens should be filled with the value of that attribute and the label of the DynamicFIeld_Lens should move up so i can see the value.

Actual behavior

I am in CustomerTicketMessage and select a value of a DynamicField_Reference. I have a DynamicField_Lens that refereneces to a attribute of that selected object in the DynamicField_Reference.

Now the DynamicField_Lens is filled but the label of the field is in front of the value so i dont see parts of the value.

How to reproduce

Steps to reproduce the behavior:

  1. Add a DyamicField_Reference and a DynamicField_Lens and link the lens to the reference field.
  2. Add them to CustomerTicketMessage.
  3. Select an object in the DynamicField_Reference.
  4. See error

Additional information

Screenshots

Here is a screenshot that shows my DynamicField_Reference "Sim Card" and also my DynamicField_Lens "Mobil Number". The label is in front of the actual value of the field. I can only see the last four digits.

Bildschirmfoto_2024-11-15_14-14-13

svenoe commented 3 days ago

I assume the field type of the field the lens points at is "Text", and as for those there was no way to fill them via AJAXUpdate yet, I assume some js is missing which sets the html class. Maybe in the Core.AJAX.js it suffices to simply trigger a blur on the field for simple text inputs, where select fields are redrawn etc.

Edit: Textfield is confirmed.