SHARE
TWEET

Untitled

a guest Aug 23rd, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. addEmail = () => {
  2.     impForm = document.createElement("input");
  3.     impForm.className = "form-input";
  4.     impForm.type = "email";
  5.     impForm.placeholder = "nom@exemple.com";
  6.     impForm.name = "invites";
  7.     impForm.defaultValue = "{values.invites}";
  8.     // Left this one alone, since you seem to need to use a string with it:
  9.     impForm.setAttribute("onChange", "{handleChange('invites')}");
  10. };
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top