How to control widgets in the widget component using enhanced inputs?

Hi, say you have a widget component with widget that you can interact with.
How would you go about switching from one widget to another using enhanced inputs? Or interacting in any way with the widget (like moving the widget using arrow keys or any keys mapped by the player)? What would be the steps and best practices?

The reason I want to do it through enhanced inputs is because of player mappable keys. I know widgets have functions for mouse and keyboard, but afaik they can’t have mappable keys.
Thanks.