@open-formulieren/formio-builder
Version:
An opinionated Formio webform builder for Open Forms
40 lines (39 loc) • 1.28 kB
JavaScript
import { jsx as t } from "react/jsx-runtime";
import { useContext as r } from "react";
import { useIntl as m, FormattedMessage as p } from "react-intl";
import { BuilderContext as s } from "../../context.js";
import "../formio/tabs.js";
import "clsx";
import "formik";
/* empty css */
import "@floating-ui/react";
/* empty css */
import "../formio/textfield.js";
import l from "../formio/checkbox.js";
import "../formio/datefield.js";
import "../formio/datetimefield.js";
import "../formio/timefield.js";
/* empty css */
import "react-select";
import "dompurify";
import "../formio/textarea.js";
import "../formio/datagrid.js";
/* empty css */
const F = () => {
const o = m(), {
formType: e
} = r(s), i = o.formatMessage({
id: "cAC5kL",
defaultMessage: [{
type: 0,
value: "Remove the value of this field from the submission if it is hidden. Note: the value of this field is then also not used in logic rules!"
}]
});
return e === "appointment" ? null : /* @__PURE__ */ t(l, { name: "clearOnHide", label: /* @__PURE__ */ t(p, { id: "iqAbXt", defaultMessage: [{
type: 0,
value: "Clear on hide"
}] }), tooltip: i });
};
export {
F as default
};