Browse Source

Expose whole form value as a data binding

pull/4434/head
Andrew Kingston 5 years ago
parent
commit
d7720e2643
  1. 4
      packages/client/manifest.json
  2. 1
      packages/client/src/components/app/forms/InnerForm.svelte

4
packages/client/manifest.json

@ -1837,6 +1837,10 @@
{
"type": "static",
"values": [
{
"label": "Value",
"key": "__value"
},
{
"label": "Valid",
"key": "__valid"

1
packages/client/src/components/app/forms/InnerForm.svelte

@ -59,6 +59,7 @@
...formValue,
// These static values are prefixed to avoid clashes with actual columns
__value: formValue,
__valid: valid,
__currentStep: $currentStep,
__currentStepValid: $currentStepValid,

Loading…
Cancel
Save