Skip to content

List Binding Normalisation

Choose a tag to compare

@g105b g105b released this 19 May 14:57
f743201
  • Fixed bindListCallback() so callback data includes values from #[BindGetter] methods, not just direct bindable properties. This closes #524.
  • Updated object list binding so bindable objects are normalised before nested-list detection. This allows objects with bindable getters to be treated as key-value bind data inside list callbacks.
  • Fixed unnamed list resolution when a context contains deeper named list templates. Unnamed bindList() calls now ignore named list elements while searching for the correct unnamed template, avoiding cases where a nested named list is selected incorrectly.
  • Added ListElement::isNamed() to distinguish explicit named templates from unnamed data-list templates.
  • Made bind attribute detection namespace-case-insensitive, covering GT\... vs Gt\... attribute class name differences.
  • Updated namespace references from Gt\Dom to GT\Dom across source files.
  • Test coverage has been improved around bindList() and BindGetter usage.

PRs included in this release

  • bindListCallback normalisation by @g105b in #525

Full Changelog: v3.6.1...v3.6.2