@charlesgomes/leafcode-shared-lib-react 1.0.23 → 1.0.24
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/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1060,7 +1060,7 @@ var SelectFilterTemplate = (options, isLanguagePtBr = true, items = []) => {
|
|
|
1060
1060
|
{ label: isLanguagePtBr ? "Sim" : "Yes", value: true },
|
|
1061
1061
|
{ label: isLanguagePtBr ? "N\xE3o" : "No", value: false }
|
|
1062
1062
|
];
|
|
1063
|
-
const currentValue = selectOptions.find((opt) => opt.value === options.value) ||
|
|
1063
|
+
const currentValue = selectOptions.find((opt) => opt.value === options.value) || null;
|
|
1064
1064
|
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
1065
1065
|
import_react_select.default,
|
|
1066
1066
|
{
|
package/dist/index.mjs
CHANGED
|
@@ -1013,7 +1013,7 @@ var SelectFilterTemplate = (options, isLanguagePtBr = true, items = []) => {
|
|
|
1013
1013
|
{ label: isLanguagePtBr ? "Sim" : "Yes", value: true },
|
|
1014
1014
|
{ label: isLanguagePtBr ? "N\xE3o" : "No", value: false }
|
|
1015
1015
|
];
|
|
1016
|
-
const currentValue = selectOptions.find((opt) => opt.value === options.value) ||
|
|
1016
|
+
const currentValue = selectOptions.find((opt) => opt.value === options.value) || null;
|
|
1017
1017
|
return /* @__PURE__ */ jsx11(
|
|
1018
1018
|
Select,
|
|
1019
1019
|
{
|