Fix key bindings in dropdown inputs

Key binding in dropdown inputs was not working, because input names were detected wrong. I have fixed it