UNPKG

@sheerid/jslib-nightly

Version:

SheerID JavaScript Library

50 lines (48 loc) 1.24 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 f, F as s } from "../sheerid.js"; import { F as h } from "./FormFieldTypeahead-C6eS7yJg.js"; const c = ({ value: i, isErrored: n, onChange: r, verificationService: e, intl: d, placeholder: o = "", disabled: t = !1 }) => m("organization")?.hidden ? null : /* @__PURE__ */ a.jsx( h, { fieldId: "licensed-professional", value: i, verificationService: e, onChange: (l) => r(l), placeholder: o || d.formatHTMLMessage({ id: "organizationNamePlaceholder", defaultMessage: "Organization" }), label: /* @__PURE__ */ a.jsx(s, { id: "organization", defaultMessage: "Organization" }), errorMessage: n && /* @__PURE__ */ a.jsx( s, { id: "errorId.invalidOrganization", defaultMessage: "You must select an organization from the list" } ), orgSearchUrl: f( e.viewModel, e.programTheme ), showPlaceholderAndHideLabel: !!o, disabled: t } ), M = g( c ); export { M as L };