Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
bebo925 committed Feb 15, 2023
1 parent 9ac5342 commit 669f6bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion resources/views/components/input/multiple-select.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
remove(option){
this.selectedOptions = this.selectedOptions.filter((item) => item !== option)
}
}" x-cloak class="relative" x-on:click.outside="open = false" wire:ignore>
}" x-cloak x-on:click.outside="open = false" wire:ignore {{$attributes->class(['relative'])}}>
<div x-ref="button" x-on:click="toggle()" :aria-expanded="open" {{$attributes->class(['flex flex-wrap w-full gap-2 pl-3 pr-10 py-2 text-base sm:text-sm shadow-sm rounded-md border bg-white focus:ring-1 focus:outline-none border-secondary-300 focus:ring-primary-500 focus:border-primary-500 relative'])}}>
<template x-for="item in selectedOptions" :key="'selected-options'+item.{{$valueField}}">
<div class="px-2 py-1 bg-gray-200 rounded text-xs flex items-center shadow">
Expand Down
4 changes: 2 additions & 2 deletions resources/views/components/messages.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
},
init()
{
if(@js(session()->has('message')))
if(@js(session()->has('messages')))
{
this.addMessage(@js(session('message')));
this.addMessage(@js(session('messages')));
}
},
windowEvent(event)
Expand Down

0 comments on commit 669f6bb

Please sign in to comment.