Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feature: implement binding list keys using {{}} syntax closes #505#506

Merged
g105b merged 5 commits intomasterfrom
505-bind-list-key
Mar 2, 2026
Merged

feature: implement binding list keys using {{}} syntax closes #505#506
g105b merged 5 commits intomasterfrom
505-bind-list-key

Conversation

@g105b
Copy link
Member

@g105b g105b commented Mar 2, 2026

  • ListBinder now always binds each item key under {{}} before item-value binding, including key => scalar lists.
  • PlaceholderBinder now escapes bind keys in regex, so special keys like {{}} don't break matching.
  • Added regression test for associative scalar list key/value binding with data-bind:text="{{}}".

Test run note: I couldn't execute PHPUnit successfully due to phpgt/dom compatibility error (DOMNode constraint type mismatch on PHP 8.5), so I've released a GT/Dom update that is a prerequisite of this PR being merged.

@g105b g105b merged commit 2284a64 into master Mar 2, 2026
21 checks passed
@g105b g105b deleted the 505-bind-list-key branch March 2, 2026 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant