pict-section-form 1.0.133 → 1.0.135
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/package.json
CHANGED
|
@@ -52,9 +52,9 @@ class DynamicTabularData extends libPictProvider
|
|
|
52
52
|
{
|
|
53
53
|
// The neat thing about how the tabular groups work is that we can make it clever about whether it's an object or an array.
|
|
54
54
|
let tmpGroup = pView.getGroup(pGroupIndex);
|
|
55
|
-
if (!tmpGroup)
|
|
55
|
+
if (!tmpGroup || !tmpGroup?.RecordSetAddress)
|
|
56
56
|
{
|
|
57
|
-
this.log.warn(`PICT View Metatemplate Helper getTabularRecordSet ${pGroupIndex} was not a valid group.`);
|
|
57
|
+
this.log.warn(`PICT View Metatemplate Helper getTabularRecordSet ${pGroupIndex} was not a valid group or did not have a valid RecordSetAddress.`);
|
|
58
58
|
return false;
|
|
59
59
|
}
|
|
60
60
|
|
|
@@ -709,7 +709,7 @@ class PictFormMetacontroller extends libPictViewClass
|
|
|
709
709
|
{
|
|
710
710
|
this.pict.ContentAssignment.insertContentAfter(`#${tmpPrevDiv.id}`, tmpFormDivContent);
|
|
711
711
|
tmpFormDivs = this.pict.ContentAssignment.getElement(`#${tmpFormDivID}`);
|
|
712
|
-
tmpPrevDiv = tmpFormDivs;
|
|
712
|
+
tmpPrevDiv = tmpFormDivs[0];
|
|
713
713
|
continue;
|
|
714
714
|
}
|
|
715
715
|
tmpDeferredDivID = tmpFormDivID;
|