Comments (1)
@welcoMattic , (1) have you found a way around this or is this still a problem?
From what I can see, you're missing a comma there, that might be the issue. Here's how I'd write it:
$this->crud->addField([
'label' => 'Author'
'type' => 'select2',
'name' => 'user_id',
'entity' => 'user',
'attribute' => 'name',
'model' => 'App\User'
], 'both');
(2) Does this work for you?
from crud.
Related Issues (20)
- [Bug] crud.addFunctionToDataTablesDrawEventQueue('addOrRemoveCrudCheckedItem') is not called HOT 5
- [Bug] Add support for Laravel 11 HOT 2
- Wrong date in calendar operations new entry HOT 6
- [Bug] Not translated uploder column in translatable model error on update HOT 2
- In o'clock hours calendar operations doesn't show minutes in calendar view HOT 4
- [Compatibility Laravel 11] Media Library Uploads
- [Bug] Attribute of n-n relationship is not set during update (using select2_multiple field) HOT 2
- CRUD field JS Does Not Play Nicely With Repeatable and Date Range HOT 2
- [Bug] [PRO] TinyMCE fields overwrite 'content_css' option HOT 5
- [Bug] Typed property Backpack\CRUD\app\Library\Database\Table::$columns must not be accessed before initialization HOT 2
- [Bug] CRUD field JS Does Not Play Nicely When Sorting Repeatable HOT 2
- [Bug] Method Illuminate\Database\PostgresConnection::getDoctrineColumn does not exist HOT 4
- Image field and HasTraslation trait issue HOT 3
- [WIP] upload vs upload_multiple file display inconsistent behavior.
- [Bug] Call to undefined method Backpack\Basset\BassetManager::echoJs() HOT 5
- [Bug] One crud of many not properly working create/edit/preview pages. HOT 3
- Deploy Backpack for Laravel in production HOT 4
- [Bug] HOT 2
- afterColumn() doesn't work from custom trait.
- Add more db engines to test workflow
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 crud.