Fix forms autofill with new dataModel
authorColeman Watts <coleman@civicrm.org>
Mon, 28 Oct 2019 17:38:22 +0000 (13:38 -0400)
committerCiviCRM <info@civicrm.org>
Wed, 16 Sep 2020 02:13:19 +0000 (19:13 -0700)
commit8f245854f571d7f49f440d13f871f8b8e8065042
treeb08e09858cf97876e00045d96f397d429a979075
parentf800b0461083e09328da8cc5e2b2443a5874998a
Fix forms autofill with new dataModel

The formDataModel is now an object rather than an array.
This also changes the array key to match what's used in testAfform.aff.html:
url-autofill instead of af-url-autofill
ext/afform/core/Civi/Api4/Action/Afform/AbstractProcessor.php