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

Setting the $reason #96

Open
mariopro opened this issue Jan 27, 2023 · 1 comment
Open

Setting the $reason #96

mariopro opened this issue Jan 27, 2023 · 1 comment

Comments

@mariopro
Copy link

Hi,
Great package working out-of-the-box with little effort.

Yet, I can't figure out how and where one can set the $reason value. I tried in the model, and in the controller, and none is saved. The table shows the reason the field is always null.

Question: because it's not in the documentation, where and how to set the $reason value?

Thanks.

@nonoesp
Copy link
Collaborator

nonoesp commented Feb 1, 2023

Hi, @mariopro this package is in low-maintenance mode as we don't have the bandwidth.

From the VersionableTrait, I see the setReasonAttribute method, which seems like it should be called on the versioned model that's using this trait.

Let us know if you find a solution.

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