ng-form-foundry 0.5.5 → 0.6.1
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 -3
- package/fesm2022/ng-form-foundry.mjs +86 -25
- package/fesm2022/ng-form-foundry.mjs.map +1 -1
- package/index.d.ts +44 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -106,9 +106,11 @@ required).
|
|
|
106
106
|
|
|
107
107
|
Validity mirrors what would go on the wire: `presence` fields are absent until
|
|
108
108
|
enabled and required while enabled (unless `nullable`), a `mandatory` or
|
|
109
|
-
enabled-presence `choice` errors until a case is picked,
|
|
110
|
-
|
|
111
|
-
|
|
109
|
+
enabled-presence `choice` errors until a case is picked, an **optional
|
|
110
|
+
(`presence`) list is absent until you add it** — adding it drops in a first
|
|
111
|
+
entry, and removing the last entry takes it away again — while a **required list
|
|
112
|
+
stays empty (`[]`)** rather than seeding a placeholder entry. A valid form
|
|
113
|
+
serializes to a value that satisfies the schema's own constraints.
|
|
112
114
|
|
|
113
115
|
## Documentation
|
|
114
116
|
|