@open-formulieren/formio-builder
Version:
An opinionated Formio webform builder for Open Forms
41 lines (40 loc) • 1.11 kB
JavaScript
import { jsx as a } from "react/jsx-runtime";
import { defineMessage as i, useIntl as r, FormattedMessage as s } from "react-intl";
import o from "../../formio/select.js";
const n = [{
label: i({
id: "RPzjrJ",
defaultMessage: [{
type: 0,
value: "Main"
}]
}),
value: "main"
}, {
label: i({
id: "cJnAgZ",
defaultMessage: [{
type: 0,
value: "Authorised person"
}]
}),
value: "authorised_person"
}], p = () => {
const e = r(), l = e.formatMessage({
id: "WkBjB5",
defaultMessage: [{
type: 0,
value: "In case that multiple identifiers are returned (in the case of eHerkenning bewindvoering and DigiD Machtigen), should the prefill data related to the main identifier be used, or that related to the authorised person?"
}]
});
return /* @__PURE__ */ a(o, { name: "prefill.identifierRole", label: /* @__PURE__ */ a(s, { id: "E5rUfM", defaultMessage: [{
type: 0,
value: "Identifier role"
}] }), tooltip: l, options: n.map((t) => ({
...t,
label: e.formatMessage(t.label)
})) });
};
export {
p as default
};