Skip to content

Commit

Permalink
feat(inventory): selectize the user transfer dropdown (#1243)
Browse files Browse the repository at this point in the history
* feat(inventory): selectize the user transfer dropdown

* chore(deps): rebuild mix assets

---------

Co-authored-by: AW0005 <[email protected]>
  • Loading branch information
AW0005 and AW0005 authored Mar 9, 2025
1 parent 68e7508 commit 3648297
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion resources/views/home/_inventory_stack.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
<div id="transferForm" class="collapse">
<div class="form-group">
{!! Form::label('user_id', 'Recipient') !!} {!! add_help('You can only transfer items to verified users.') !!}
{!! Form::select('user_id', $userOptions, null, ['class' => 'form-control']) !!}
{!! Form::select('user_id', $userOptions, null, ['class' => 'form-control user-select']) !!}
</div>
<div class="text-right">
{!! Form::button('Transfer', ['class' => 'btn btn-primary', 'name' => 'action', 'value' => 'transfer', 'type' => 'submit']) !!}
Expand Down Expand Up @@ -165,6 +165,7 @@
return false;
});
$('.default.character-select').selectize();
$('.user-select').selectize();
function toggleChecks($toggle) {
$.each($('.item-check'), function(index, checkbox) {
Expand Down

0 comments on commit 3648297

Please sign in to comment.