-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Bug report
Please note: All issues must be submitted in English. If not, they will be closed automatically.
What I did
Added a wrapper class to a CRUD column in v7 public beta in the following format similar to what i was doing in v6:
$this->crud->addColumns([
[
"name" => "message", // The db column name
"label" => "Message", // Table column heading
"type" => "textarea",
"wrapper" => [
"class" => "col-md-12",
],
],
]);
This code is part of the show operation setup however im facing the same issue for any field or column in any operation.
What I expected to happen
The column should resize to full width
What happened
The column did not resize and for what ever reason the that holds the message gets placed in an with the class of col-md-12 which has no effect
What I've already tried to fix it
I have noticed in the new bp-datagrid the size-x property is what controls the width of the columns i have added size-12 instead of col-md-12 with the same issue.
If i manually edit the code in the browser and change size-3 to size-12 on the bp-datagrid-item this width and sizing work fine, however i dont seem to be able to configure this when adding the column or field in the CRUD contoller
class="bp-datagrid-item size-12"
Is it a bug in the latest version of Backpack?
After I run composer update backpack/crud the bug is still there
Backpack, Laravel, PHP, DB version
When I run php artisan backpack:version the output is:
PHP VERSION:
8.2.28
PHP EXTENSIONS:
Core, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, random, Reflection, SPL, session, standard, sodium, mysqlnd, PDO, xml, bcmath, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, iconv, exif, mysqli, pdo_mysql, pdo_sqlite, Phar, posix, readline, shmop, SimpleXML, soap, sockets, sqlite3, sqlsrv, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlrpc, xmlwriter, xsl, zip, pdo_sqlsrv, Zend OPcache
LARAVEL VERSION:
12.27.1.0
BACKPACK PACKAGE VERSIONS:
backpack/basset: 2.0.0-beta.2
backpack/crud: 7.0.0-beta.16
backpack/generators: dev-next
backpack/pro: 3.0.0-alpha.7
backpack/theme-coreuiv2: dev-next
backpack/theme-coreuiv4: dev-next
backpack/theme-tabler: dev-next
Additional Information
Here's some more info that could be helpful in reproducing or debugging:
- Environment details (e.g., operating system, web server, browser): ??
- Steps to reproduce the issue (if possible): ??
- Relevant error logs or screenshots (if any): ??
Note: Issues that cannot be reproduced or lack necessary details to diagnose could be closed.