@mcurros2/microm 1.1.260-0 → 1.1.261-0
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.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -33937,7 +33937,6 @@ const $d296e9f4d3930bfd$export$4db9dd7eda56bf7b = ({ entityForm: entityForm, ent
|
|
|
33937
33937
|
if (event) lastFocusedElement.current = event.target;
|
|
33938
33938
|
else lastFocusedElement.current = document.activeElement;
|
|
33939
33939
|
const keyValue = new_value ?? entityForm.form.values[bindingColumn];
|
|
33940
|
-
if (transform) transform(keyValue);
|
|
33941
33940
|
if (!keyValue) updateLookupType({
|
|
33942
33941
|
columnName: bindingColumn,
|
|
33943
33942
|
key: '',
|
|
@@ -33955,6 +33954,8 @@ const $d296e9f4d3930bfd$export$4db9dd7eda56bf7b = ({ entityForm: entityForm, ent
|
|
|
33955
33954
|
//console.log(`OnBlur isLooking after: force: ${force} isLooking ${isLooking.current}`);
|
|
33956
33955
|
isLooking.current = false;
|
|
33957
33956
|
updateLookupType(result);
|
|
33957
|
+
const transformKey = result.key;
|
|
33958
|
+
if (transform) transform(transformKey);
|
|
33958
33959
|
if (lastFocusedElement.current) //console.log(`Ref ${HTMLDescriptionRef.current}`)
|
|
33959
33960
|
{
|
|
33960
33961
|
if (HTMLDescriptionRef.current) HTMLDescriptionRef.current.focus({
|