Can we set the span attribute for each variable in the form itself?

i want to set diiferent icons for each varible like calender for date,message for email i can do it the form using setAttribute ??

<span class ="input-group-addon"> <i class ="fa fa-group"></i> </span>


the only way is to extend a component and make render functionality to do what you desire.

Me personally i write those creeky things with simple volt/html and use only form.render("field") to render the input , rest i do it myself.