@bettercms-ai/sdk 1.27.0 → 1.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1984,6 +1984,7 @@ function shouldShowField(field, values) {
1984
1984
  function formInitialValues(form, prefill = {}) {
1985
1985
  const values = {};
1986
1986
  for (const field of form.fields) {
1987
+ if (field.type === "step") continue;
1987
1988
  if (field.type === "checkbox" || field.type === "consent") {
1988
1989
  values[field.key] = false;
1989
1990
  } else if (field.type === "checkboxes") {