12 lines
256 B
JavaScript
12 lines
256 B
JavaScript
const Placeholder = () => {
|
|
const placeholderCep = document.querySelector(".vtex-address-form-4-x-input");
|
|
|
|
if (placeholderCep) {
|
|
return (placeholderCep.placeholder = "Digite seu CEP");
|
|
} else {
|
|
return "";
|
|
}
|
|
};
|
|
|
|
export default Placeholder;
|