Get Binding Key

Hello basically I have to get which key is on Input-Action to change the text in the skill frame

I try this

_playerInput.currentActionMap.FindAction("Ability").GetBindingDisplayString(0)

but It gives old key value even after key binding

How can I solve that?

Can you give more information about your specific setup and your rebinding code.
I’m wondering if it could be related to working with an action that has multiple bindings where you are changing a different binding index.