Commit ab2eef7
committed
fix(lit): use .checked instead of .value in checkbox component
The checkbox component incorrectly used .value (string) instead of
.checked (boolean) for both display binding and event handling:
- Changed .value=\ to .checked=\ for property binding
- Changed evt.target.value to evt.target.checked in event handler
- Updated #setBoundValue signature from string to boolean
This aligns the Lit implementation with the Angular reference
implementation and the A2UI protocol specification which states
checkbox value should be 'true for checked, false for unchecked'.1 parent dbc4187 commit ab2eef7
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| |||
0 commit comments