Create a searchable select field with Laravel, InertiaJS and vue-multiselect

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Works awesome! Thanks for the great explanation!
Only problem i encounter, and i also see it in your browser on the last frames of the video, is that after a selection the term is set to empty in the url, which causes the select to reset..

erikjandelange
Автор

Sir Constantin thanks for the tutorial, but how about in EditJob.vue, how did you get the mechanic from database and display his name in multiselect?

jeffreybalmes
Автор

in create page ok but in edit page, happen error Failed to execute 'replaceState' on 'History': InputEvent object could not be cloned.

javadkazemi
Автор

Please make a tutorial for the dynamic drop-down 😁

christianpetelegaspi
Автор

vue-multiselect Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'concat')

marcinmaj
Автор

can we pass all the mechanics instead of making a query on search change?

jobusd
Автор

one other great video !
Vue multiselect is a great plugin, very customizable ( I used it to make a TagComponent for choose or create tags on fly )
A nice refactoring idea would be make a wrapper for logic shared for mechanics / consultants and extract it in a dedicated component
( ThrottleSearchableComponent for example and provides endpoint as a prop )
but it's more focused on Vue than Inertia...
By the way, could you make a video about inertia vue 3 adapters, and tell us if it's ready for use ?
Thank you Constantin for sharing !

pascalraymond
Автор

Uncaught (in promise) TypeError: t._self is undefined <<<< i made exactly what you did =( my stack is jetstream + inertia

ivannettoferreira