question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug] $this->crud->getFields('create')

See original GitHub issue

Bug report

What I did

dd ($this->crud->getFields(‘create’));

What I expected to happen

get array of fields

What happened

In my trait I’m trying to get list of fields used in create operation on my crud. I’m getting empty array.

What I’ve already tried to fix it

??

Backpack, Laravel, PHP, DB version

When I run php artisan backpack:version the output is:

PHP 7.4.7 (cli) (built: Jun 12 2020 07:44:38) ( NTS ) Copyright © The PHP Group Zend Engine v3.4.0, Copyright © Zend Technologies with Zend OPcache v7.4.7, Copyright ©, by Zend Technologies

LARAVEL VERSION:

v7.16.1@dc9cd8338d222dec2d9962553639e08c4585fa5b

BACKPACK VERSION:

4.1.10@cf33f991b97de99cefa1dcd2e6beeeeda8116514

Thanks for support

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
mikiman2028commented, Jun 24, 2020

Thank you for pointing me in right direction 😃

0reactions
tabacitucommented, Jun 24, 2020

I’ll close the issue since it’s not a bug, but feel free to reply if my directions above don’t help. Cheers!

Read more comments on GitHub >

github_iconTop Results From Across the Web

CRUD API :: 5.x Docs - Backpack for Laravel
Chained - makeFirstColumn() - make this column the first one in the list ... throws 403 error $this->crud->hasAccessToAll(['create', 'update']); // returns ...
Read more >
7. Create a Defect (Bug) | QAComplete Documentation
Manage and run automated and manual tests. Gather requirements, create records about bugs, optimize your testing experience.
Read more >
Invitation To Create: Build A Bug
Invitation To Create: Build A Bug. Open ended creative insect paper craft for kids. Great for color recognition & fine motor development.
Read more >
How to set up a bug-free development environment! - Usersnap
Learn how to set up your bug-free development environment. Get tips for the perfect development machine as well as on the QA and...
Read more >
Create a bug tracker application - Progress Software
The Bug Tracker application visualizes projects and bugs that are related to these projects. The application enables you to log a new bug...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found