@portnet/ui 0.0.88 → 0.0.89
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.
|
@@ -193,6 +193,7 @@ const PuiFormikAutocomplete = /*#__PURE__*/React.forwardRef((_ref3, ref) => {
|
|
|
193
193
|
setHasError(Boolean(meta) && Boolean(meta.touched) && Boolean(meta.error));
|
|
194
194
|
}, [meta]);
|
|
195
195
|
React.useEffect(() => {
|
|
196
|
+
console.log("[value, options]");
|
|
196
197
|
if ((!Boolean(selectedOption) || getOptionValue(selectedOption) !== value) && value !== undefined && options !== undefined) {
|
|
197
198
|
let option;
|
|
198
199
|
if (typeof value === "object") {
|
|
@@ -212,6 +213,7 @@ const PuiFormikAutocomplete = /*#__PURE__*/React.forwardRef((_ref3, ref) => {
|
|
|
212
213
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
213
214
|
}, [field.value]);
|
|
214
215
|
React.useEffect(() => {
|
|
216
|
+
console.log("[field.value, options]");
|
|
215
217
|
if ((!Boolean(selectedOption) || getOptionValue(selectedOption) !== field.value) && field.value !== undefined && options !== undefined) {
|
|
216
218
|
let option;
|
|
217
219
|
if (typeof field.value === "object") {
|