plugin
plugin copied to clipboard
[Feature Request]: Wireui components are not recognized
Feature Description
Hi,
When using components from https://livewire-wireui.com they are not recognised/completed. Could these be added?
Cheers,
+1
+2
When is next release ?
Soon https://twitter.com/laravel_idea/status/1592461960419106817
Released!
yes, but it does not work :(
I have this is my blade:
<x-wireui::select
label="Search a ingredient"
placeholder="Select some ingredient"
:async-data="[
'api'=>route('api.ingredient-search'),
'credentials' => 'include'
]"
option-label="name"
option-value="id"
/>
and then I get this error:
Undefined variable $optionDescription
This is a PHP error message? If yes - I only added completion for these components...
What kind of setup does one need to do in order for this to work ?
@rabol You're importing the livewire blade view using it <x-wireui::select, the component name is <x-select, this component uses a class
@adelf
I'm still getting the error highlight for wireui components or any other components from third-party packages
I get the views files auto completions, but not the real component name

@rabol You're importing the livewire blade view using it
<x-wireui::select, the component name is<x-select, this component uses a class
yes, but i get the auto-complete even if i update the config to have a different alias e.g. i my setup all are named wireui.XXXX
but I still get the autocomplete for wirui::select
Let's continue in #682