@formancy/react 0.6.0 → 0.7.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.mjs CHANGED
@@ -1099,6 +1099,7 @@ function RadioGroupField({ path, label }) {
1099
1099
  const options = useResolvedOptions(field);
1100
1100
  const showError = field.touched && field.errors.length > 0;
1101
1101
  return /* @__PURE__ */ jsxs("fieldset", {
1102
+ id: field.ids.control,
1102
1103
  "data-formancy-part": "field",
1103
1104
  "data-formancy-field-path": path,
1104
1105
  "data-state": showError ? "invalid" : "valid",
@@ -1822,6 +1823,7 @@ function SelectBoxesField({ path, label }) {
1822
1823
  field.setValue(next);
1823
1824
  };
1824
1825
  return /* @__PURE__ */ jsxs("fieldset", {
1826
+ id: field.ids.control,
1825
1827
  "data-formancy-part": "field",
1826
1828
  "data-formancy-field-path": path,
1827
1829
  "data-state": showError ? "invalid" : "valid",
@@ -2338,6 +2340,7 @@ function SignatureField({ path, label }) {
2338
2340
  }, at))
2339
2341
  }),
2340
2342
  /* @__PURE__ */ jsx("input", {
2343
+ id: field.ids.control,
2341
2344
  "data-formancy-part": "signature-typed",
2342
2345
  type: "text",
2343
2346
  value: answer.typed ?? "",