Skip to content

Commit

Permalink
dynamic value checked
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderkirtzel committed Jun 11, 2024
1 parent 05d11d2 commit 3e28bbb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/clients/walkerjs/src/__tests__/html/walker.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@
<option value="b" selected="selected">chosen</option>
<option value="c">bar</option>
</select>
<input type="checkbox" checked="checked" data-elb-dynamic="checked:#checked" />
<input type="checkbox" data-elb-dynamic="unchecked:#checked" />
</div>

<div id="prefix" elb="entity" elb-entity="k:v" elbaction="load:action"></div>
Expand Down
2 changes: 2 additions & 0 deletions packages/clients/walkerjs/src/__tests__/walker.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@ describe('Walker', () => {
id: 'id_value',
static: 'value',
option: 'chosen',
checked: true,
unchecked: false,
},
}),
]);
Expand Down

0 comments on commit 3e28bbb

Please sign in to comment.