helpdesk icon indicating copy to clipboard operation
helpdesk copied to clipboard

Link Fields Added via HD Ticket Template Not Displaying Options in Agent Portal

Open UmakanthKaspa opened this issue 1 year ago • 5 comments

Information about bug

Description: When adding a link field (e.g., "Agent Group") via the HD Ticket Template to the Agent Portal in the Frappe Helpdesk app, the expected behavior is for the field to display selectable options immediately upon clicking. However, these options are not displayed as expected. The options only become visible when some text is entered into the field and then cleared.

Steps to Reproduce:

  • Go to the HD Ticket Template in the Frappe Helpdesk app.
  • Add a new link field (e.g., "agent_group") to the template.
  • Navigate to the Agent Portal and create or edit a ticket.
  • Click on the newly added link field (e.g., "Agent Group").
  • Observe that no options are displayed when the field is clicked.
  • Type any text into the link field and then clear it.
  • Observe that the options are now displayed.

Expected Behavior: Options should be displayed immediately when the link field is clicked, without requiring any text input.

Actual Behavior: Options only appear after text is entered and cleared.

Video Demonstration: Link Field Options Not Displaying.webm

Version

Frappe Framework: v15.38.0 (version-15) Helpdesk: v0.10.0 (develop)

Installation method

manual install

Relevant log output / Stack trace / Full Error Message.

No response

UmakanthKaspa avatar Aug 30 '24 15:08 UmakanthKaspa

Agent Portal image

Customer Portal image

Unable to replicate the issue.

RitvikSardana avatar Aug 31 '24 08:08 RitvikSardana

@RitvikSardana could you please try with existing tickets in the Agent Portal?

UmakanthKaspa avatar Aug 31 '24 08:08 UmakanthKaspa

image

still works.

RitvikSardana avatar Aug 31 '24 12:08 RitvikSardana

Ok my bad, I was able to replicate it, could you try to fix it? @UmakanthKaspa in UniInput2 we get the custom fields with Autocomplete Component, probably somewhere there we need to fix it.

edit: seems like frappe-ui related, will check this. Thanks for reporting the issue

RitvikSardana avatar Aug 31 '24 12:08 RitvikSardana

@RitvikSardana I tried to fix it but could not. I will give it another try.

UmakanthKaspa avatar Aug 31 '24 16:08 UmakanthKaspa