MedicOneSystems / MedicOneSystems/livewire-datatables

Question about wire click outside LivewireDatatable component

Open
#613 0 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

I want a Livewire crud component for the create, update and delete and not a livewire component that extends LivewireDatatable with al this methods. Now when i do: wire:click="edit({{$id}})" the method edit must be in the livewire component that extends the LivewireDatatable.

Is this possible or is this just the way livewire works?

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 tracing the LivewireDatatable component and the wire:click="edit({{$id}})" call described in the issue. Determine whether CRUD actions can be handled by a separate Livewire component rather than the component extending LivewireDatatable, and document or demonstrate the supported boundary clearly.

Written by the indexing model from the issue text.

Assessment

Tech stack
laravel, php
Domain
full-stack
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.