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

[Bug]: Livewire property tableName cannot be found #1920

Closed
danie-ramdhani opened this issue Sep 2, 2024 · 4 comments · Fixed by #1937
Closed

[Bug]: Livewire property tableName cannot be found #1920

danie-ramdhani opened this issue Sep 2, 2024 · 4 comments · Fixed by #1937
Labels
bug Something isn't working

Comments

@danie-ramdhani
Copy link

What happened?

When upgrading to latest version (3.4.17) there's console bug Livewire property [tableName] cannot be found from this PR and i think from this line.

defining property to table component like public string $tableName = 'some-table'; fix the bug. but is it really required to define $tableName from version 3.4.17?

Here's the console error looks like:
image

How to reproduce the bug

No response

Package Version

3.4.17

PHP Version

None

Laravel Version

No response

Alpine Version

No response

Theme

None

Notes

No response

Error Message

No response

@danie-ramdhani danie-ramdhani added the bug Something isn't working label Sep 2, 2024
@qwasyx0
Copy link

qwasyx0 commented Sep 2, 2024

yes it is required

@lrljoe
Copy link
Collaborator

lrljoe commented Sep 9, 2024

It shouldn't be required as there's a method used to retrieve the default "table" if it's not defined, I'll take a look, it's probably just a mistaken entangle rather than a get, or the default property is mistyped as protected/private

@lrljoe lrljoe linked a pull request Sep 10, 2024 that will close this issue
9 tasks
@lrljoe
Copy link
Collaborator

lrljoe commented Sep 10, 2024

This is in development branch, and will be in the next release.

@lrljoe
Copy link
Collaborator

lrljoe commented Sep 10, 2024

Should be fixed now

[v3.4.20] - 2024-09-10

Bug Fixes

@lrljoe lrljoe closed this as completed Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants