Clearing a Relationship Field: Looking for Alternatives to Dropdowns

I have a scenario where a logged-in user selects a category, which updates a relationship field between the user and the selected category. This setup filters a custom list based on the user’s category selection, and it works well while the user is navigating the app.

However, I need a way to clear or reset this selected category relationship from the user when necessary. If I use a standard dropdown component, I can achieve this by setting the relationship field back to “None” or leaving it unselected, but the dropdown component has design limitations for my app’s UI.

To overcome the design constraints, I’ve implemented an alternative visual solution where the user selects the category from a list in another window. My issue is that I need an action to clear the user’s category selection when needed, but I can’t find a straightforward way to do this without the dropdown module.

Any advice or suggestions on how to reset this relationship field programmatically or via an action would be greatly appreciated!

Not sure how you’ve set up the original action to add the relationship but the following may work:

Click action → update logged in user → select the category relationship → remove category

Thanks for the quick response. To set the category relationship. The user click a button wich opens a page with a category list. The list displays only a button per record. The user clicks the button of the desired category and the action sets the logged in user category relationship to the same category. From that point on the user can repeat the step to change categories. However, I dont have a mthod or action to reset the relationship to blank or none.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.