Follow-up to the combobox: setOptions(arr) so a parent can feed a reactive option list in via x-effect="setOptions(vpicMakes)" — the reliable way to pass a parent component's reactive array into the nested x-data (a plain closure over the parent scope doesn't track Alpine updates). Falls back to config.options for static lists. 18/18 tests pass. No consumers yet.
Follow-up to the combobox: `setOptions(arr)` so a parent can feed a reactive option list in via `x-effect="setOptions(vpicMakes)"` — the reliable way to pass a parent component's reactive array into the nested `x-data` (a plain closure over the parent scope doesn't track Alpine updates). Falls back to `config.options` for static lists. 18/18 tests pass. No consumers yet.
Passing a parent component's reactive array into the nested combobox x-data
needs x-effect="setOptions(vpicMakes)" — a plain closure over the parent
scope doesn't track Alpine updates. Falls back to config.options for static
lists. 18/18 tests pass.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
bastian
merged commit cab06d7c83 into main2026-06-10 19:09:15 -04:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Follow-up to the combobox:
setOptions(arr)so a parent can feed a reactive option list in viax-effect="setOptions(vpicMakes)"— the reliable way to pass a parent component's reactive array into the nestedx-data(a plain closure over the parent scope doesn't track Alpine updates). Falls back toconfig.optionsfor static lists. 18/18 tests pass. No consumers yet.