UNPKG

@open-formulieren/formio-builder

Version:

An opinionated Formio webform builder for Open Forms

12 lines (11 loc) 791 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const jsx_runtime_1 = require("react/jsx-runtime"); const react_intl_1 = require("react-intl"); const formio_1 = require("../../components/formio"); const EnableSelection = () => { const intl = (0, react_intl_1.useIntl)(); const tooltip = intl.formatMessage({ id: "e09gXO", defaultMessage: [{ type: 0, value: "Allow the selection of specific children that are retrieved from the external source for further processing." }] }); return ((0, jsx_runtime_1.jsx)(formio_1.Checkbox, { name: "enableSelection", label: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: '7E8B/6', defaultMessage: [{ type: 0, value: "Enable selection" }] }), tooltip: tooltip })); }; exports.default = EnableSelection;