-
-
Notifications
You must be signed in to change notification settings - Fork 89
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
Conflicting $record when using widget in a resource #209
Comments
Facing the same issue. |
Yes, unfortunately this is a know issue. I'm rewriting this implementation for v4 |
@saade Do we have a workaround to not throw the error? |
Can't actively vouch for it, but this is my current workaround. Install composer package: Add in composer.json:
The general idea is to replace references to EDIT: I somehow smuggled laravel/pint into composer.json. It should pose no problem, but it was an accident. |
Also have this issue. Would be highly appreciated if it's possible to get it fixed, might be a while until V4 gets out? |
I am trying to use this widget in a resource and
$record
property inInteractsWithRecords
trait is conflicting with the resource record.Our
fetchEvents()
implementation to fetch the events uses$this->record
which populates the resource record correctly in the beginning. But when we click on any event, value of $this->record is overwritten byEvent
record.I see a change was made in #41 , but it seems that was for an older version.
The text was updated successfully, but these errors were encountered: