extract function to toggle placeholder explicitly rather than generating a focus event for toggle which may have other unwanted consequences