pict-section-form 1.0.40 → 1.0.41

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.
@@ -19,11 +19,11 @@ const _ViewConfiguration = (
19
19
  <h2>This postcard example is getting silly.</h2>
20
20
  </div>
21
21
  <div class="content">
22
- {~MTI:DynamoData.SomeFunnyPlaceForTheData:String~}
22
+ {~MTI:First:DynamoData.SomeFunnyPlaceForTheData:String~}
23
23
 
24
24
  and
25
25
 
26
- {~MTI:DynamoData.SomeFunnyPlaceForTheDataAsASignatureInputType:String:PostKardSignature~}
26
+ {~MTI:Second funny place for the data's storage, yo...:DynamoData.SomeFunnyPlaceForTheDataAsASignatureInputType:String:PostKardSignature~}
27
27
  </div>
28
28
  `
29
29
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pict-section-form",
3
- "version": "1.0.40",
3
+ "version": "1.0.41",
4
4
  "description": "Pict dynamic form sections",
5
5
  "main": "source/Pict-Section-Form.js",
6
6
  "directories": {
@@ -38,6 +38,7 @@ class PictTemplateMetatemplateInputTemplate extends libPictTemplate
38
38
  this.log.trace(`PICT Metacontroller Template [MetaTemplateInput]::[${tmpHash}]`);
39
39
  }
40
40
 
41
+ let tmpInputName = false;
41
42
  let tmpInputAddress = false;
42
43
  let tmpDataType = false;
43
44
  let tmpInputType = false;
@@ -49,15 +50,17 @@ class PictTemplateMetatemplateInputTemplate extends libPictTemplate
49
50
  this.log.warn(`MetaTemplateInput template requires at least parameters (Address and DataType) [${tmpHash}]`);
50
51
  return '';
51
52
  }
52
- tmpInputAddress = tmpHashTemplateSeparator[0];
53
- tmpDataType = tmpHashTemplateSeparator[1];
54
- if (tmpHashTemplateSeparator.length > 2)
53
+ tmpInputName = tmpHashTemplateSeparator[0];
54
+ tmpInputAddress = tmpHashTemplateSeparator[1];
55
+ tmpDataType = tmpHashTemplateSeparator[2];
56
+ if (tmpHashTemplateSeparator.length > 3)
55
57
  {
56
- tmpInputType = tmpHashTemplateSeparator[2];
58
+ tmpInputType = tmpHashTemplateSeparator[3];
57
59
  }
58
60
  // Construct a fake input object
59
61
  let tmpInput = {
60
62
  Address: tmpInputAddress,
63
+ Name: tmpInputName,
61
64
  Hash: this.fable.DataFormat.cleanNonAlphaCharacters(tmpInputAddress),
62
65
  DataType: tmpDataType,
63
66
  PictForm: {