Skip to content

Commit

Permalink
feat: Add pagination & tooltips to agent's dropdown on forwarding mod…
Browse files Browse the repository at this point in the history
…al (#30629)
  • Loading branch information
KevLehman authored and debdutdeb committed Oct 26, 2023
1 parent e355fc6 commit b0555d2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/rotten-dryers-allow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/meteor": patch
---

Add pagination & tooltips to agent's dropdown on forwarding modal
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,13 @@ const ForwardChatModal = ({
<Field>
<FieldLabel>{t('Forward_to_user')}</FieldLabel>
<FieldRow>
<UserAutoComplete
conditions={conditions}
placeholder={t('Username')}
<AutoCompleteAgent
withTitle
onlyAvailable
value={getValues().username}
excludeId={room.servedBy?._id}
showIdleAgents={idleAgentsAllowedForForwarding}
placeholder={t('Username_name_email')}
onChange={(value) => {
setValue('username', value);
}}
Expand Down

0 comments on commit b0555d2

Please sign in to comment.