UIToolkit Input event not getting triggered

Control events in UIDocument stopped working. Not sure what caused the issue. Now if I revert the changes I have added recently doesnt get any mouse input triggered.
Deleted the Library folder and restarted the editor doesnt work.
Created a new UIDocument.
Created a separate scene and created a completely new UIDocument Input not working
Changed the Active Input System to switch to (old), (new) and both but no result. Can anyone help suggest what is reason for this issue?

Thanks In Advance

BUMP this post for reply

Does your input work outside of the UIDocument?

Try deleting EventSystem from the scene. I have a similar issue; it seems like the InputSystemUIInputModule currently breaks UITK input. Deleting the EventSystem from the scene or swaping to a StandaloneInputModule which uses the older InputSystem fixes it for me.