UNPKG

@sheerid/jslib-nightly

Version:

SheerID JavaScript Library

48 lines (46 loc) 1.22 kB
/** * VERSION: 2.230.0-alpha.0 * BUILD_TIMESTAMP: 1778694684677 * BUILD_DATE: Wed May 13 2026 17:51:24 GMT+0000 (Coordinated Universal Time) * BUILD_COMMIT: 7af1c105d5485ac4ed1190c56d492bb4590667a9 */ import { i as g, g as m, j as a, c as h, F as r } from "../sheerid.js"; import { F as M } from "./FormFieldTypeahead-C6eS7yJg.js"; const p = ({ value: o, isErrored: s, onChange: n, verificationService: e, intl: t, placeholder: i = "", disabled: d = !1 }) => m("organization")?.hidden ? null : /* @__PURE__ */ a.jsx( M, { fieldId: "membership", value: o, verificationService: e, onChange: (l) => n(l), placeholder: i || t.formatHTMLMessage({ id: "organizationPlaceholder", defaultMessage: "Organization" }), label: /* @__PURE__ */ a.jsx(r, { id: "organization", defaultMessage: "Organization" }), errorMessage: s && /* @__PURE__ */ a.jsx( r, { id: "errorId.invalidOrganization", defaultMessage: "You must select an organization from the list" } ), orgSearchUrl: h( e.viewModel, e.programTheme ), showPlaceholderAndHideLabel: !!i, disabled: d } ), F = g(p); export { F as M };