@open-formulieren/formio-builder
Version:
An opinionated Formio webform builder for Open Forms
45 lines (44 loc) • 1.39 kB
JavaScript
import { jsx as e } from "react/jsx-runtime";
import { useContext as r } from "react";
import { useIntl as a, FormattedMessage as p } from "react-intl";
import { BuilderContext as l } from "../../../context.js";
import "../../formio/tabs.js";
import "clsx";
import "formik";
/* empty css */
import "@floating-ui/react";
/* empty css */
import "../../formio/textfield.js";
import "../../formio/datefield.js";
import "../../formio/datetimefield.js";
import "../../formio/timefield.js";
/* empty css */
import "react-select";
import { NumberField as s } from "../../formio/number.js";
import "../../formio/textarea.js";
import "../../formio/datagrid.js";
/* empty css */
const I = () => {
const t = a(), {
formType: o
} = r(l), m = t.formatMessage({
id: "2/2h2C",
defaultMessage: [{
type: 0,
value: "The minimum value this field can have before the form can be submitted."
}]
}), i = t.formatMessage({
id: "BGZD6J",
defaultMessage: [{
type: 0,
value: "Minimum value"
}]
});
return o === "appointment" ? null : /* @__PURE__ */ e(s, { name: "validate.min", label: /* @__PURE__ */ e(p, { id: "pDJBaK", defaultMessage: [{
type: 0,
value: "Minimum value"
}] }), placeholder: i, tooltip: m });
};
export {
I as default
};