vgapp 0.2.5 → 0.2.7
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/app/modules/vgmodal/js/vgmodal.js +2 -2
- package/build/vgapp.css +5090 -13
- package/build/vgapp.js +4982 -3
- package/build/vgapp.js.map +1 -1
- package/package.json +1 -1
|
@@ -318,10 +318,10 @@ class VGModal extends BaseModule {
|
|
|
318
318
|
|
|
319
319
|
if (!this._params.fields.length) return;
|
|
320
320
|
|
|
321
|
-
this._params.fields.forEach(
|
|
321
|
+
this._params.fields.forEach((item) => {
|
|
322
322
|
if (!'name' in item && !'value' in item) return;
|
|
323
323
|
|
|
324
|
-
let elements = Selectors.findAll('[data-' + item.name + ']');
|
|
324
|
+
let elements = Selectors.findAll('[data-' + item.name + ']', this._element);
|
|
325
325
|
if (!elements.length) return;
|
|
326
326
|
|
|
327
327
|
for (const elm of elements) {
|