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

[9.0] Add the possibility to makeVisible() some attribute of a model. #2263

Merged
merged 1 commit into from
Dec 17, 2019

Conversation

imTigger
Copy link
Contributor

The opposite of PR #2085
Add a makeVisible() to the row object.

Use case:
My eloquent model have $visible attribute that limit serialization to JSON.
e.g. protected $visible = ['uuid', 'name'];
Need a method to temporarily modifying attribute visibility on datatables (on opposite of makeHidden()).

@yajra yajra changed the base branch from master to 9.0 December 17, 2019 03:28
@yajra yajra changed the title Add the possibility to makeVisible() some attribute of a model. [9.0] Add the possibility to makeVisible() some attribute of a model. Dec 17, 2019
@yajra yajra merged commit 20cc622 into yajra:9.0 Dec 17, 2019
@yajra
Copy link
Owner

yajra commented Dec 17, 2019

Released on v9.8.0 🚀

If possible, please submit a docs too at https://github.com/yajra/laravel-datatables-docs. Thanks!

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

Successfully merging this pull request may close these issues.

2 participants