Added support for onClicked
Moved prop.value to defaultValue
removed current cursor re-position logic
Added support for input fields with passwords