@wise/dynamic-flow-client 3.28.1 → 3.28.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/main.js +4 -2
- package/build/main.min.js +1 -1
- package/build/main.mjs +4 -2
- package/package.json +1 -1
package/build/main.js
CHANGED
|
@@ -16158,10 +16158,12 @@ function MultiSelectSchema({
|
|
|
16158
16158
|
const shouldShowInitialError = Boolean(errors) && !changed;
|
|
16159
16159
|
const shouldShowValidationError = Boolean(validations.length) && submitted;
|
|
16160
16160
|
const formGroupClasses = {
|
|
16161
|
-
"
|
|
16161
|
+
"form-group": true,
|
|
16162
|
+
"has-error": shouldShowInitialError || shouldShowValidationError,
|
|
16163
|
+
"has-info": !!schema.description
|
|
16162
16164
|
};
|
|
16163
16165
|
return /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("div", { className: (0, import_classnames8.default)("d-flex flex-column", formGroupClasses), children: [
|
|
16164
|
-
schema.title ? /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("label", { htmlFor: id, children: schema.title }) : void 0,
|
|
16166
|
+
schema.title ? /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("label", { className: "control-label d-inline m-b-1", htmlFor: id, children: schema.title }) : void 0,
|
|
16165
16167
|
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
|
|
16166
16168
|
import_components51.SelectInput,
|
|
16167
16169
|
{
|