-
Notifications
You must be signed in to change notification settings - Fork 531
Closed
Labels
Description
I'm reading https://icebob.gitbooks.io/vueformgenerator/fields/field_properties.html.
the Common properties of field said we can set id as id of the field. but when I set the id="checkbox1" for a checkbox,
{
type: "checkbox",
id: "checkbox1",
label: "¿Tu negocio es miembro de alguna asociación?",
model: "xxx",
required: true,
styleClasses:['center-align-checkbox']
}
I opened console and got this things below:
<div class="form-group required center-align-checkbox field-checkbox">
<label for="checkbox1">¿Tu negocio es miembro de alguna asociación?</label>
<div class="field-wrap">
<input type="checkbox">
</div>
</div>
it just set the "checkbox1" as a for attribute value for label. no id here for my checkbox.