@superdispatch/ui-lab 0.49.0 → 0.49.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/dist-node/index.js
CHANGED
|
@@ -946,6 +946,12 @@ var EmailAutocomplete = /*#__PURE__*/react.forwardRef((_ref, ref) => {
|
|
|
946
946
|
if (hasCommaOrSpace && text.trim() !== '') {
|
|
947
947
|
_onChange === null || _onChange === void 0 ? void 0 : _onChange([...(value || []), text.trim()], 'select-option');
|
|
948
948
|
}
|
|
949
|
+
},
|
|
950
|
+
onBlur: event => {
|
|
951
|
+
var text = event.target.value;
|
|
952
|
+
if (text.trim() !== '') {
|
|
953
|
+
_onChange === null || _onChange === void 0 ? void 0 : _onChange([...(value || []), text.trim()], 'select-option');
|
|
954
|
+
}
|
|
949
955
|
}
|
|
950
956
|
}))
|
|
951
957
|
}));
|