ngx-form-rules 1.0.1 → 1.0.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 +14 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,17 +10,27 @@
|
|
|
10
10
|
</p>
|
|
11
11
|
|
|
12
12
|
### Form Design
|
|
13
|
-
```
|
|
14
13
|
Easily enable and disable Angular reactive form fields using simple rules
|
|
15
|
-
|
|
14
|
+
|
|
16
15
|
<p align="center"><a href="#" target="_blank"><img alt="NPM stats" src="https://bdprescription.com/npm-package/ng-package-bg.png"></a></p>
|
|
17
16
|
|
|
18
17
|
|
|
19
18
|
## Description
|
|
20
19
|
```
|
|
21
|
-
A lightweight Angular library to
|
|
20
|
+
A lightweight Angular library that makes it easy to enable, disable, and control reactive form fields using simple, declarative rules. Built for Angular Reactive Forms with zero dependencies.
|
|
22
21
|
```
|
|
23
22
|
|
|
23
|
+
### ngx-reactive-form-rules
|
|
24
|
+
|
|
25
|
+
Easily enable and disable Angular reactive form fields using simple rules.
|
|
26
|
+
|
|
27
|
+
`ngx-reactive-form-rules` helps you control form behavior (enable, disable, clear values) based on other field values—without writing repetitive subscription logic.
|
|
28
|
+
|
|
29
|
+
✔ Works with Angular Reactive Forms
|
|
30
|
+
✔ Lightweight and simple
|
|
31
|
+
✔ No external dependencies
|
|
32
|
+
✔ Perfect for dynamic forms
|
|
33
|
+
|
|
24
34
|
|
|
25
35
|
## Installation
|
|
26
36
|
|
|
@@ -132,4 +142,4 @@ export const RULES: FormRule[] = [
|
|
|
132
142
|
</app-textarea-field>
|
|
133
143
|
</div>
|
|
134
144
|
</form>
|
|
135
|
-
```
|
|
145
|
+
```
|