@jsenv/navi 0.3.2 → 0.3.3
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/jsenv_navi.js
CHANGED
|
@@ -13320,11 +13320,12 @@ const installCustomConstraintValidation = (
|
|
|
13320
13320
|
closeElementValidationMessage("cleanup");
|
|
13321
13321
|
};
|
|
13322
13322
|
|
|
13323
|
-
|
|
13324
|
-
|
|
13323
|
+
const anchorElement =
|
|
13324
|
+
failedConstraintInfo.target || elementReceivingValidationMessage;
|
|
13325
13325
|
validationInterface.validationMessage = openCallout(
|
|
13326
13326
|
failedConstraintInfo.message,
|
|
13327
13327
|
{
|
|
13328
|
+
anchorElement,
|
|
13328
13329
|
level: failedConstraintInfo.level,
|
|
13329
13330
|
closeOnClickOutside: failedConstraintInfo.closeOnClickOutside,
|
|
13330
13331
|
onClose: () => {
|
package/package.json
CHANGED
|
@@ -370,13 +370,12 @@ export const installCustomConstraintValidation = (
|
|
|
370
370
|
closeElementValidationMessage("cleanup");
|
|
371
371
|
};
|
|
372
372
|
|
|
373
|
-
const
|
|
373
|
+
const anchorElement =
|
|
374
374
|
failedConstraintInfo.target || elementReceivingValidationMessage;
|
|
375
|
-
|
|
376
375
|
validationInterface.validationMessage = openCallout(
|
|
377
376
|
failedConstraintInfo.message,
|
|
378
377
|
{
|
|
379
|
-
|
|
378
|
+
anchorElement,
|
|
380
379
|
level: failedConstraintInfo.level,
|
|
381
380
|
closeOnClickOutside: failedConstraintInfo.closeOnClickOutside,
|
|
382
381
|
onClose: () => {
|