replaceFields

Replace an existing field by id.

Usage

const options = {
  replaceFields: [
    {
      type: "checkbox-group",
      label: "Checkbox",
      values: [{ label: "Option 1", value: "" }],
      icon: "☑"
    }
  ]
}
$(container).formBuilder(options);

See it in Action