Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get error: Property [$id] not found on component: [penugasan.create] #11

Open
diorz38 opened this issue Nov 17, 2024 · 2 comments
Open

Comments

@diorz38
Copy link

diorz38 commented Nov 17, 2024

I use PHP 8.2.19 and Laravel 11.32.0 with Livewire 3

<x-searchable-dropdown
          name="mitra"
          entangle="form.mitra_id"
          :context="$this"
          :data="$mitra"
          in_live_wire="true"
          no_results_message="No Mitra found"
          placheholder="Choose your Mitra"
          search_placeholder="Search for mitra..."/>

data get from mitra => Model::pluck(id, name)
entangle i filled with form.mitra_id from parent
what is wrong?

@teofanis
Copy link
Owner

teofanis commented Nov 17, 2024

Looks correct, I suspect it has to do with livewire v3, I will test it and either fix or lock it down to v2 until support for v3 is there.

@teofanis
Copy link
Owner

@diorz38 please try installing V2 of the package

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants