Skip to content
Discussion options

You must be logged in to vote

@samuelrac hard to say without seeing your code, but it looks like you are using Eloquent models, so you might not have specified which property to display.

Have a look at my demo here, you can see it is being passed a list of user models, so I specify 'text' => 'name' to use the name property on the user model.

https://github.com/joshhanley/livewire-autocomplete-demo/blob/d11370a995e494d377ffee02efc94d8f2507a51d/resources/views/livewire/main.blade.php#L11-L14

Maybe you need to do something like that?

Hope this helps!

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by samuelrac
Comment options

You must be logged in to vote
7 replies
@joshhanley
Comment options

@samuelrac
Comment options

@joshhanley
Comment options

@samuelrac
Comment options

@joshhanley
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants