@portnet/ui 0.0.41 → 0.0.42

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.
@@ -212,7 +212,7 @@ const PuiBaseFormikPopupReferentielField = /*#__PURE__*/React.forwardRef((_ref3,
212
212
  setHasError(Boolean(meta) && Boolean(meta.touched) && Boolean(meta.error));
213
213
  }, [meta]);
214
214
  React.useEffect(() => {
215
- if (value !== undefined) {
215
+ if (value !== undefined || value !== null) {
216
216
  formikContext.setFieldValue(name, getReturnedValue(value));
217
217
  }
218
218
  // eslint-disable-next-line react-hooks/exhaustive-deps
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@portnet/ui",
3
- "version": "0.0.41",
3
+ "version": "0.0.42",
4
4
  "description": "Portnet UI",
5
5
  "keywords": [
6
6
  "react",