You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: skills/dev-skills/angular-developer/references/signal-forms.md
+12-2Lines changed: 12 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -170,10 +170,20 @@ Do _NOT_ bind the `name` field.
170
170
When using `[formField]`, you MUST NOT set the following attributes in the template (either static or bound):
171
171
172
172
-`min`, `max` (Use validators in the schema instead)
173
-
-`value`, `[value]`, `[attr.value]` (Already handled by `[formField]`)
173
+
-`value`, `[value]`, `[attr.value]`on **text/number/date inputs**(Already handled by `[formField]`)
174
174
-`[attr.min]`, `[attr.max]`
175
175
-`[disabled]`, `[readonly]` (Already handled by `[formField]`)
176
176
177
+
**Exception**: Static `value` on `<input type="radio">` and `<input type="checkbox">` is **allowed and required** — it identifies which option the input represents, not the bound field value.
178
+
179
+
```html
180
+
<!-- CORRECT: value on radio specifies which option this button represents -->
0 commit comments