[Bug] When remove "Reset button" in the list, you should avoid appending the trailing comma
See original GitHub issueBug report
Prologue
It’s a very small little stupid thing… sorry…
What I did
In config/backpack/crud.php
we disabled the reset button
'resetButton' => false,
What I expected to happen
We expected that the trailing comma after list operation subheading will be removed
What happened
It shows a trailing comma
What I’ve already tried to fix it
I searched around in the code where the js is appending the string but not found, yet.
Is it a bug in the latest version of Backpack?
Yes
Backpack, Laravel, PHP, DB version
When I run php artisan backpack:version
the output is:
### PHP VERSION:
PHP 7.4.25 (cli) (built: Oct 20 2021 09:29:27) ( NTS Visual C++ 2017 x64 )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
### LARAVEL VERSION:
v8.70.2@dec9524cd0f9fa35a6eb8e25d0b40f8bbc8ec225
### BACKPACK VERSION:
4.1.60@bec5cfa11f0cd0712c79256748acf5850080c0ee
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
prettier trailing commas error when importing a group
What is happening is that prettier advises to add a trailing comma after useMediaQuery. I add it and then when a save the...
Read more >1788154 – Adding a trailing comma to excludes option causes ...
Bug 1788154 - Adding a trailing comma to excludes option causes all items listed for exclusion to be ignored.
Read more >How to remove last / ending comma from cell in Excel?
Remove last / ending comma from cell with formulas. To delete the commas from each cell of the selection quickly and easily, you...
Read more >Text Formula String Concatenation - Omit Trailing Comma
That should not be a problem as in first condition you are checking if any previous checkbox is true then add comma, else...
Read more >shopping list python
You need to create the foundations of an e-commerce engine for a B2C (business-to-consumer) retailer. append (int (command [1])) elif "remove" in command: ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey @realtebo it took us a bit to come back here, but we submitted a PR today that should make italian language compatible with all the other languages for the PostFix value.
Thanks for the report 🙏
Easy workaround:
Create
resources/lang/vendor/backpack/it/crud.php
and add only this