I used to need a custom template for my input field and want the formgroup to use the bootstrap3-horizonal template.
I tried different things, my latest approach was this:
Field in Schema:
"city.unique_name": {
type: String,
label: "City",
optional: true,
autoform: {
afFieldInput: {
template: "cities"
}
}
},
Form element:
+afQuickField(name='profile.city.unique_name' template="bootstrap3-horizontal" label-class="col-sm-3" input-col-class="col-sm-9")
Someone an idea about that?