@ng-modular-forms/core 0.8.2 → 0.9.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 +2 -1
- package/fesm2022/ng-modular-forms-core.mjs +389 -319
- package/fesm2022/ng-modular-forms-core.mjs.map +1 -1
- package/lib/base/form-handler-base.d.ts +2 -2
- package/lib/behavior/number/number.behavior.d.ts +4 -0
- package/lib/behavior/{text/text.behavior.d.ts → password/password.behavior.d.ts} +1 -1
- package/lib/controls/form-field/form-field.component.d.ts +3 -3
- package/lib/controls/number/number.component.d.ts +14 -5
- package/lib/controls/text/text.component.d.ts +14 -5
- package/lib/directives/nmf-prefix.directive.d.ts +5 -0
- package/lib/directives/nmf-suffix.directive.d.ts +5 -0
- package/lib/form-utils.d.ts +2 -3
- package/package.json +1 -1
- package/public-api.d.ts +5 -3
- package/lib/behavior/currency/currency.behavior.d.ts +0 -3
- package/lib/controls/currency/currency.component.d.ts +0 -13
package/README.md
CHANGED
|
@@ -381,12 +381,13 @@ export class ExampleComponent {
|
|
|
381
381
|
|
|
382
382
|
All components share a consistent API and are interchangeable between Native and Material implementations without changing form logic.
|
|
383
383
|
|
|
384
|
+
Prefixes / Suffixes are enabled for text and number fields, allowing number to double as a currency field.
|
|
385
|
+
|
|
384
386
|
| Input Type | Native Selector | Material Selector |
|
|
385
387
|
|-----------------|----------------------|-----------------------|
|
|
386
388
|
| Text / Password | `nmf-text` | `nmf-mat-text` |
|
|
387
389
|
| Lookup | `nmf-lookup` | `nmf-mat-lookup` |
|
|
388
390
|
| Number | `nmf-number` | `nmf-mat-number` |
|
|
389
|
-
| Currency | `nmf-currency` | `nmf-mat-currency` |
|
|
390
391
|
| Date | `nmf-datepicker` | `nmf-mat-datepicker` |
|
|
391
392
|
| Select | `nmf-select` | `nmf-mat-select` |
|
|
392
393
|
| Textarea | `nmf-textarea` | `nmf-mat-textarea` |
|