Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- addEmail = () => {
- impForm = document.createElement("input");
- impForm.className = "form-input";
- impForm.type = "email";
- impForm.placeholder = "nom@exemple.com";
- impForm.name = "invites";
- impForm.defaultValue = "{values.invites}";
- // Left this one alone, since you seem to need to use a string with it:
- impForm.setAttribute("onChange", "{handleChange('invites')}");
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement