fixing ability to click placeholder and reset component