Skip to main content
June 6, 2023
Solved

Question relate to custom picker

  • June 6, 2023
  • 6 replies
  • 1 view

I am using custom picker

In that custom picker I am fetch group member from a group

like this : 

Now i  want show user image before his/her name

like this : 

Any suggestion for this how can I do it ?

    Best answer by harshitb6843

    You can either just remove that user on the fly or you can add a validation, which in my view, is a better approach as the user is notified about the issue rather than just deleing something they just entered, leaving them in a confused state. 

    6 replies

    June 6, 2023

    Why not just use User picker for this and apply group filter?

    June 6, 2023

    Hi Sanchit

    I am fetching member of groups from a group.

    Then i am putting a condition that If logged in user is part of group then the name of logged in user should not be visible in custom picker.

    Can you tell how can i do this in user picker ?

    konduruc733182
    June 6, 2023

    Hello pawanl0001 as far as I am aware you can get that image only if you are using User Picker. But I couldn't find anything to filter out the existing users name from the list. You will have to do it using custom picker field and using the custome picker field you can use the link and show a profile when you hover on it. You need to configure the selectedLinks parameter and use the a!userRecordLink().

    Not sure if this is how you want it. But you can try and check it.