Add custom attributes to Supermodel inputs
To add custom attributes to an <sm:input /> field, you can use the attributesText property:
<input:text className="field" id="fieldname" name="fieldname" attributesText="data-id='1234' data-another-value='blah'" />