@overmap-ai/forms 1.0.12-links.0 → 1.0.12-links.1
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/forms.js +1 -1
- package/dist/forms.js.map +1 -1
- package/dist/forms.umd.cjs +1 -1
- package/dist/forms.umd.cjs.map +1 -1
- package/package.json +1 -1
package/dist/forms.js
CHANGED
|
@@ -475,6 +475,7 @@ __publicField(StringOrTextField, "_validateMax", (value, allValues) => {
|
|
|
475
475
|
const StringInput = memo(function StringInput2(props) {
|
|
476
476
|
const [{ inputId, labelId, severity, helpText, label, fieldProps, field }, rest] = useFormikInput(props);
|
|
477
477
|
const color = useSeverityColor(severity);
|
|
478
|
+
console.log(inputId, label, fieldProps, field, rest);
|
|
478
479
|
return /* @__PURE__ */ jsx(InputWithLabelAndHelpText, { helpText, severity, children: /* @__PURE__ */ jsx(InputWithLabel, { severity, inputId, labelId, label, children: /* @__PURE__ */ jsx(TextField$1.Input, { ...rest, ...fieldProps, type: field.inputType, id: inputId, color }) }) });
|
|
479
480
|
});
|
|
480
481
|
const _StringField = class _StringField extends StringOrTextField {
|
|
@@ -1445,7 +1446,6 @@ const useFieldInput = (field, props) => {
|
|
|
1445
1446
|
}, [field, props]);
|
|
1446
1447
|
};
|
|
1447
1448
|
const useFieldInputs = (fields, props) => {
|
|
1448
|
-
console.log(fields, props);
|
|
1449
1449
|
const inputs = useMemo(() => {
|
|
1450
1450
|
return fields.map((field) => {
|
|
1451
1451
|
return /* @__PURE__ */ jsx("div", { children: field.getInput(props) }, field.getId());
|