ng-form-foundry 0.3.0 → 0.3.2
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/README.md +5 -0
- package/fesm2022/ng-form-foundry.mjs +603 -335
- package/fesm2022/ng-form-foundry.mjs.map +1 -1
- package/index.d.ts +272 -146
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -90,6 +90,11 @@ this.form.getRawValue(); // full value, typed to the schema
|
|
|
90
90
|
this.form.valid; // validity from the schema's constraint validators
|
|
91
91
|
```
|
|
92
92
|
|
|
93
|
+
If the schema contains `choice` nodes, `getRawValue()` carries their `__case`
|
|
94
|
+
discriminators; `serializeForm(schema, form)` returns the value with them
|
|
95
|
+
stripped — the inline wire encoding, which `buildFormFromSchema` accepts back
|
|
96
|
+
as `initial`.
|
|
97
|
+
|
|
93
98
|
## Documentation
|
|
94
99
|
|
|
95
100
|
Full guide, schema reference, and worked examples:
|