MedicOneSystems / MedicOneSystems/livewire-datatables

Formatting Error with fresh Laravel Jetstream Installation

Open
#384 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
1.2k
Forks
257
PR merge metrics
No merged PRs in 30d

Description

When installing Laravel with Jetstream and setting up livewire-datatables, I get a formatting error.

Here's how I set up Laravel:

curl -s https://laravel.build/test-app | bash 
cd test-app alias 
sail='bash vendor/bin/sail' 
sail up -d 
sail composer require laravel/jetstream 
sail php artisan jetstream:install livewire --teams 
sail npm install && sail npm run dev 
sail php artisan migrate

This is how I then installed livewire-datatables:
sail composer require mediconesystems/livewire-datatables
Then I let the following output
<livewire:datatable model="App\Models\User" name="all-my-users" />

This leads to the following "incorrectly" formatted view
image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the installation with the Laravel, Jetstream, Livewire and livewire-datatables commands shown in the issue. Inspect the rendered datatable view and compare it with the attached screenshot; the issue does not name a source file, test, expected formatting, or specific error details, so those would need to be established before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
laravel, php, tailwindcss
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.