feat #1173 Input field focus on label click

This pull requests allows the focus to be set on input field whenever user clicks on the label for all the input based widgets
We can retrieve the input element here instead of receiving it as an argument