Selecting all on focus.
Adding attribute to toggle the clear button as enabled/disabled.