Comments (1)
@alancwoo thanks for posting this. Indeed it was one bit of documentation that we forgot to update when moving to Backpack 4.1, where the request
is private
instead of public
, and you have to use the getters and setters. I see the docs have been updated since, and how feature the new ways of doing this:
$this->crud->getRequest()->request->add(['author_id'=> backpack_user()->id]);
$this->crud->getRequest()->request->remove('password_confirmation');
$this->crud->getRequest()->request->add(['author_id'=> backpack_user()->id]);
$this->crud->getRequest()->request->remove('password_confirmation');
They're a bit verbose, but they should do the trick. Let me know if they don't and we'll reopen.
Cheers!
from docs.
Related Issues (20)
- CSS Hook section is missing in docs. HOT 1
- Relationship [Pro] - Not documented how to change attribute showed by pivot select HOT 7
- The "How To" Page got a lot of old info which is not usable in v6 HOT 1
- Inline Operation - Document if it requires 'fetch' operation also HOT 5
- Fetch Operation - Document expected return data format HOT 3
- Placeholder attribute
- [Bug] Can't seem to create a theme HOT 16
- [Discussion] - list of all attributes supported by field/columns HOT 1
- hard to find : how to setup a morph relationship?
- Document Rewards Program HOT 2
- Bold text no longer showing as bold HOT 3
- Add-ons list check HOT 2
- CRUD Fields address_google API Key HOT 1
- sidebar_content mention in v6 Basics HOT 1
- overwrite register.blade.php instructions are wrong HOT 2
- No info available on nested CRUD! HOT 3
- Remove "public/packages" publish step from v6 docs
- Translatable outated images
- Discrepancy in step 1 of Getting Started page HOT 1
- Unhandled Exception on CRUD::setAccessCondition() HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docs.