make sure the placeholder text is updated if the attribute value is updated