Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
UmakanthKaspa opened this issue Aug 30, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@UmakanthKaspa
Copy link
Contributor

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 UmakanthKaspa added the bug Something isn't working label Aug 30, 2024
@RitvikSardana
Copy link
Member

Agent Portal
image

Customer Portal
image

Unable to replicate the issue.

@UmakanthKaspa
Copy link
Contributor Author

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

@RitvikSardana
Copy link
Member

image

still works.

@RitvikSardana
Copy link
Member

RitvikSardana commented Aug 31, 2024

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

@UmakanthKaspa
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants