mikaelpopowicz / nova-vue-select
A Laravel Nova field.
Package info
github.com/mikaelpopowicz/nova-vue-select
Language:Vue
pkg:composer/mikaelpopowicz/nova-vue-select
v1.2.2
2019-10-14 15:39 UTC
Requires
- php: >=7.1.0
- dev-master
- v1.2.2
- v1.2.1
- v1.2.0
- v1.1.4
- v1.1.3
- v1.1.2
- v1.1.1
- v1.1.0
- v1.0.1
- v1.0.0
- dev-dependabot/npm_and_yarn/express-4.18.2
- dev-dependabot/npm_and_yarn/qs-6.5.3
- dev-dependabot/npm_and_yarn/decode-uri-component-0.2.2
- dev-dependabot/npm_and_yarn/loader-utils-1.4.2
- dev-dependabot/npm_and_yarn/url-parse-1.5.10
- dev-dependabot/npm_and_yarn/path-parse-1.0.7
- dev-dependabot/npm_and_yarn/dns-packet-1.3.4
- dev-dependabot/npm_and_yarn/hosted-git-info-2.8.9
- dev-dependabot/npm_and_yarn/lodash-4.17.21
- dev-dependabot/npm_and_yarn/y18n-3.2.2
- dev-dependabot/npm_and_yarn/elliptic-6.5.4
- dev-dependabot/npm_and_yarn/ini-1.3.7
- dev-dependabot/npm_and_yarn/http-proxy-1.18.1
- dev-dependabot/npm_and_yarn/node-sass-4.14.1
- dev-dependabot/npm_and_yarn/websocket-extensions-0.1.4
- dev-hotfix/empty-value
- dev-develop
- dev-feature/multiselect
This package is auto-updated.
Last update: 2026-02-11 01:10:42 UTC
README
Laravel Nova Vue select
Introduction
Provides a capability of auto-completed searching resource.
Based on Vue-multiselect
Installation
You can install this Laravel Nova field via composer:
composer require mikaelpopowicz/nova-vue-select
Usage
// in your Nova Resource VueSelect('Field label', 'attribute', OtherResource::class),
Filter
Create a Nova filter and make it inherit from VueSelectFilter. You may override constructor to set the Resource you want to fetch.
<?php namespace App\Nova\Filters; use App\Nova\User; use Illuminate\Http\Request; use Mikaelpopowicz\NovaVueSelect\VueSelectFilter; class UserFilter extends VueSelectFilter { public function __construct() { parent::__construct(User::class); } public function apply(Request $request, $query, $value) { return $query->where('user_id', '=', $value); } }