title: How do you set a HTML data- tag for a ReactJS TextField in a form
body: <p>I've got some automation that is looking for a HTML data- tag (example: &quot;data-foobar&quot;), and I have a login.js so that:</p>
  <pre><code>&lt;div className={styles.whiteBoard}&gt;
      &lt;main className={styles.content}&gt;
          &lt;div&gt;
             &lt;div className={styles.spacer}&gt;&lt;/div&gt;
                  &lt;form onSubmit={e =&gt; submit(e)}&gt;
                      &lt;TextField
                          className={styles.input}
                          label=&quot;Username&quot;
                          autoFocus
                          variant=&quot;outlined&quot;
                          margin=&quot;normal&quot;
                          value={username}
                          onChange={e =&gt; setUsername(e.target.value)}
                      /&gt;
                  &lt;/form&gt;
              &lt;/div&gt;
          &lt;/main&gt;
  </code></pre>
  <p>where and how would one place a HTML data- tag in the above code?</p>