since setPlaceholder is also triggered on changes, a further check is necessary to avoid unnecessary modifications to the input field;
fixed the placeholder attribute should only be remove if the input is unequal to the placeholder;