Pass the choice to the Kanban column menus (they called the action without it)
Collection::join() plucks from objects, so joining the Js arguments gave an empty string and the sort and urgent threshold menus called setColumnSort() / setUrgentThreshold() with no arguments (500). Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
type="button"
|
||||
role="menuitemradio"
|
||||
aria-checked="{{ $value === $current ? 'true' : 'false' }}"
|
||||
wire:click="{{ $method }}({{ collect([...$args, $value])->map(fn ($arg) => Js::from($arg))->join(', ') }})"
|
||||
wire:click="{{ $method }}({{ collect([...$args, $value])->map(fn ($arg): string => Js::from($arg)->toHtml())->implode(', ') }})"
|
||||
x-on:click="open = false; $refs.button.focus()"
|
||||
x-on:keydown.arrow-down.prevent="$el.nextElementSibling?.focus()"
|
||||
x-on:keydown.arrow-up.prevent="$el.previousElementSibling?.matches('button') && $el.previousElementSibling.focus()"
|
||||
|
||||
Reference in New Issue
Block a user