Search code examples
meteormeteor-autoform

Adding Glyphicon's to Meteor Autoform input


Does anyone know how to add Glyphicon's to Autoform input fields. I hope to get it to look like the input field below

Image of Field with Glyphicon

Thanks alot!


Solution

  • They detail customizing form input on the readme for their other package, datepicker. Try this out on just the autoform with the syntax:

    {{> afFieldInput name="typeTest" type="bootstrap-datepicker" buttonClasses="glyphicon glyphicon-calendar"}}