You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow setting whether a table row has a clickable URL on a per-row basis
Detailed explanation
I have a table that lists a Document model which has a status of pending or accepted. Only accepted documents have a public URL you can click through too.
Leave this one with me, what you're saying makes sense, but I need to validate any other impact.
Given the propensity for people to publish the package views, it may be that a new method needs to be added to support this, while maintaining the current behaviour on the existing method.
Overview
Allow setting whether a table row has a clickable URL on a per-row basis
Detailed explanation
I have a table that lists a Document model which has a status of
pending
oraccepted
. Onlyaccepted
documents have a public URL you can click through too.So I added this:
This works, albeit with a some unneccessary markup in the HTML
but I also want to change the cursor, I don't want it to change to a pointer for
null
URLs. Ideally i'd have anot allowed
cursor. I tried this:but this outputs the following class list:
Because:
laravel-livewire-tables/resources/views/components/table/tr.blade.php
Line 27 in a28d2d8
laravel-livewire-tables/src/Traits/Helpers/TableAttributeHelpers.php
Lines 108 to 116 in a28d2d8
Notes
I propose that:
Is changed too:
The text was updated successfully, but these errors were encountered: