bind input event && show placeholder when empty words