Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ID Field checkbox missing #6672

Open
smartens80 opened this issue Jan 16, 2025 · 6 comments
Open

ID Field checkbox missing #6672

smartens80 opened this issue Jan 16, 2025 · 6 comments
Labels
needs more info More information is required

Comments

@smartens80
Copy link

smartens80 commented Jan 16, 2025

  • Laravel Version: 11.38.2
  • Nova Version: 5.1.4
  • PHP Version: 8.3.14
  • Database Driver & Version: mySQL 8
  • Operating System and Version: Ubuntu 22.04.5 LTS (GNU/Linux 6.8.0-1020-aws x86_64)
  • Browser type and version: Chrome Version 131.0.6778.265 (Official Build) (64-bit)
  • Reproduction Repository: N/A

Description:

Some HasMany fields do not show the ID field checkbox on initial page load for some resources.

Image

If you click on a resource pagination number, or type a query into the resource search box - the ID field will then show after the data refresh, however the column headers become out of whack

Image

@crynobone
Copy link
Member

Unable to reproduce the issue, please provide full reproducing repository based on fresh installation as suggested in the bug report template (or you can refer to https://github.com/nova-issues for example)

@crynobone crynobone added the needs more info More information is required label Jan 16, 2025
@smartens80
Copy link
Author

Hi @crynobone, unfortunately I can't replicate it on a fresh installation - I think it appears to be an issue with how shouldShowCheckboxes is being set on initial load.

The weird thing is that if you refresh the resource data via performing a search that returns no results, then clearing that search term which then returns all records, the checkboxes then appear as expected (same if you change the pagination page number). If you have polling refresh on, that doesn't show the checkboxes.

Do you have any ideas on what could be a possible cause by any chance, or where to even start looking to debug?

@crynobone
Copy link
Member

It could be possible that the Vue component or styling got overridden by 3rd party Nova Component. At this moment, I cannot replicate the issue on a fresh installation.

@smartens80
Copy link
Author

No worries, thanks for responding @crynobone - I will investigate some of the 3rd party packages which may not have been updated correctly to support Nova v5 changes.

@crynobone
Copy link
Member

Out of curiousity, can you share the output of composer show -D

@smartens80
Copy link
Author

Here you go

barryvdh/laravel-dompdf                                 3.0.1              A DOMPDF Wrapper for Laravel
beyondcode/laravel-dump-server                          2.0.0              Symfony Var-Dump Server for Laravel
bolechen/nova-activitylog                               dev-master a63dcd7 A tool to activity logger to monitor the users of your Laravel Nova.
[REDACTED]/[REDACTED]flush-completion-overview-card       dev-nova5-staging  A Laravel Nova card.
[REDACTED]/[REDACTED]pure-abandoned-cart-card             dev-nova5-staging  A Laravel Nova card.
[REDACTED]/[REDACTED]pure-bp234-summary-card              dev-nova5-staging  A Laravel Nova card.
[REDACTED]/[REDACTED]pure-cancels-card                    dev-nova5-staging  A Laravel Nova card.
[REDACTED]/[REDACTED]pure-cpa-summary-card                dev-nova5-staging  A Laravel Nova card.
[REDACTED]/[REDACTED]pure-cpa-summary-v2-card             dev-nova5-staging  A Laravel Nova card.
[REDACTED]/[REDACTED]pure-cpa-summary-v2-total-only-card  dev-nova5-staging  A Laravel Nova card.
[REDACTED]/[REDACTED]pure-influencer-conversion-report    dev-nova5-staging  A Laravel Nova tool.
[REDACTED]/[REDACTED]pure-order-summary-four-card         dev-nova5-staging  A Laravel Nova card.
[REDACTED]/[REDACTED]pure-order-summary-one-card          dev-nova5-staging  A Laravel Nova card.
[REDACTED]/[REDACTED]pure-order-summary-three-card        dev-nova5-staging  A Laravel Nova card.
[REDACTED]/[REDACTED]pure-order-summary-two-card          dev-nova5-staging  A Laravel Nova card.
[REDACTED]/[REDACTED]pure-orders-awaiting-shipment-card   dev-nova5-staging  A Laravel Nova card.
[REDACTED]/[REDACTED]pure-orders-in-transit-card          dev-nova5-staging  A Laravel Nova card.
[REDACTED]/[REDACTED]pure-rebills-summary-card            dev-nova5-staging  A Laravel Nova card.
[REDACTED]/[REDACTED]pure-retention-chart                 dev-nova5-staging  A Laravel Nova tool.
[REDACTED]/[REDACTED]pure-upsells-card                    dev-nova5-staging  A Laravel Nova card.
[REDACTED]/[REDACTED]pure-visiopt-statistics-summary-card dev-nova5-staging  A Laravel Nova card.
[REDACTED]/chargeback-import                          dev-nova5-staging  A Laravel Nova tool.
[REDACTED]/create-order                               dev-nova5-staging  A Laravel Nova tool.
[REDACTED]/customer-search                            dev-nova5-staging  A Laravel Nova tool.
[REDACTED]/mid-ar-report                              dev-nova5-staging  A Laravel Nova tool.
[REDACTED]/mid-capacity-progress-card                 dev-nova5-staging  A Laravel Nova card.
[REDACTED]/multi-graph-trend-card                     dev-nova5-staging  A Laravel Nova card.
[REDACTED]/orders-per-day-trend-card                  dev-nova5-staging  A Laravel Nova card.
[REDACTED]/overview-stats-table-card                  dev-nova5-staging  A Laravel Nova card.
[REDACTED]/overview-stats-table-card-three            dev-nova5-staging  A Laravel Nova card.
[REDACTED]/overview-stats-table-card-two              dev-nova5-staging  A Laravel Nova card.
[REDACTED]/rebill-summary-report                      dev-nova5-staging  A Laravel Nova tool.
[REDACTED]/rebill-throughput-report                   dev-nova5-staging  A Laravel Nova tool.
[REDACTED]/retry-throughput-report                    dev-nova5-staging  A Laravel Nova tool.
[REDACTED]/todays-orders-vs-best-day-card             dev-nova5-staging  A Laravel Nova card.
[REDACTED]/transaction-export                         dev-nova5-staging  A Laravel Nova tool.
[REDACTED]/virtual-terminal                           dev-nova5-staging  A Laravel Nova tool.
coroowicaksono/chart-js-integration                     dev-master 26e264d A Simple Dashboard Chart in Laravel Nova using Chart JS. Starting create your own dashboard with Chart JS Integration can save yo...
dnwjn/nova-button                                       5.0.0              A Laravel Nova package for adding buttons to your resources.
facebook/php-business-sdk                               21.0.3             PHP SDK for Facebook Business
fakerphp/faker                                          1.24.1             Faker is a PHP library that generates fake data for you.
filp/whoops                                             2.16.0             php error handling for cool kids
google/analytics-data                                   0.17.1             Google Analytics Data Client for PHP
google/cloud-web-risk                                   1.5.5              Google Cloud Web Risk Client for PHP
guzzlehttp/guzzle                                       7.9.2              Guzzle is a PHP HTTP client library
kiritokatklian/nova-permission                          5.1.0              A Laravel Nova tool for Spatie's Permission library.
larastan/larastan                                       3.0.2              Larastan - Discover bugs in your code without running it. A phpstan/phpstan wrapper for Laravel
laravel/forge-sdk                                       3.21.0             The official Laravel Forge PHP SDK.
laravel/fortify                                         1.25.2             Backend controllers and scaffolding for Laravel authentication.
laravel/framework                                       11.38.2            The Laravel Framework.
laravel/horizon                                         5.30.2             Dashboard and code-driven configuration for Laravel queues.
laravel/legacy-factories                                1.4.0              The legacy version of the Laravel Eloquent factories.
laravel/nova                                            5.1.4              A wonderful administration interface for Laravel.
laravel/pint                                            1.20.0             An opinionated code formatter for PHP.
laravel/sail                                            1.40.0             Docker files for running a basic Laravel application.
laravel/telescope                                       5.3.0              An elegant debug assistant for the Laravel framework.
laravel/tinker                                          2.10.0             Powerful REPL for the Laravel framework.
league/csv                                              9.21.0             CSV data manipulation made easy in PHP
league/flysystem-aws-s3-v3                              3.29.0             AWS S3 filesystem adapter for Flysystem.
league/flysystem-sftp-v3                                3.29.0             SFTP filesystem adapter for Flysystem.
mockery/mockery                                         1.6.12             Mockery is a simple yet flexible PHP mock object framework
norman-huth/nova-assets-versioning                      1.1.0
nunomaduro/collision                                    8.5.0              Cli error handling for console/command-line PHP applications.
outl1ne/nova-multiselect-filter                         5.0.0              Multiselect filter for Laravel Nova.
phpoffice/phpspreadsheet                                2.3.6              PHPSpreadsheet - Read, Create and Write Spreadsheet documents in PHP - Spreadsheet engine
phpunit/phpunit                                         11.5.3             The PHP Unit Testing framework.
predis/predis                                           2.3.0              A flexible and feature-complete Redis client for PHP.
ramsey/collection                                       2.0.0              A PHP library for representing and manipulating collections.
richardkeep/nova-timenow                                3.0.0              A Laravel Nova card to display the current time from different timezones in the world.
rpj/daterangepicker                                     dev-main 52ecb3d   A simple Date Range filter for Laravel Nova 4.
sentry/sentry-laravel                                   4.10.2             Laravel SDK for Sentry (https://sentry.io)
spatie/laravel-ignition                                 2.9.0              A beautiful error page for Laravel applications.
spatie/laravel-permission                               6.10.1             Permission handling for Laravel 8.0 and up
spatie/laravel-rdap                                     1.1.0              Perform RDAP queries in a Laravel app
symfony/yaml                                            7.2.0              Loads and dumps YAML files
taxjar/taxjar-php                                       2.0.0              Sales Tax API Client for PHP 8.0+
titasgailius/search-relations                           2.0.1              A Laravel Nova tool.
visanduma/nova-two-factor                               dev-nova5 a4775d4  Nova Two Factor Authentication```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs more info More information is required
Projects
None yet
Development

No branches or pull requests

2 participants