Repository navigation
Commit a7da761
committed
docs(skills): name what an option visibleWhen refuses and what a readonlyWhen does on the form
An option visibleWhen that faults refuses only a write that picks that
option, and forms keep offering it. A readonlyWhen that faults on a bare
ref keeps the field editable on the form, the save succeeds, and the
server drops the change with a warning. Paid by dropping the form-side
visibleWhen clause (the ui skill states it) and a self-restating
"from any non-system write" in the readonly bullet.
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J8VVAjPD6BESVmRJphXXyw1 parent 99852c0 commit a7da761
2 files changed
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | | - | |
| 205 | + | |
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| |||
448 | 448 | | |
449 | 449 | | |
450 | 450 | | |
451 | | - | |
452 | | - | |
453 | | - | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
454 | 455 | | |
455 | 456 | | |
456 | 457 | | |
| |||
0 commit comments