placeholder behavior like text field

clone the behaviour from the text field component.