Added hide-on-input functionality to v2