Created custom widget TimeEdit to facilitate a common behavior for all
inputs.