Binding boolean with @name syntax
Open
Nobody has claimed this yet.
enhancement
good first issue
- Dominant language
- PHP
- Stars
- 18
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
<input type="checkbox" name="overviewGraph" data-bind:checked="?@name" />
This doesn't work, but this does:
<input type="checkbox" name="overviewGraph" data-bind:checked="?overviewGraph" />
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Start by reproducing the two checkbox examples and tracing how DomTemplate parses data-bind:checked values, especially the @name form. Done means the @name syntax works for the shown boolean binding and a regression check covers the behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html, php
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100