Crylar
Conditional component builder
Hello guys, I was wondering if there is a better way to write this:
I do sometimes find myself repeating same code when I need to conditionally define particular values... is there a better way, where I could just check for a single condition and based on this set needed parameters.
2 replies
Icon or Tooltip on the column header
Hi, I know you are able to have tooltip on a cell but is it possible to have one right on the column header? I would like to add some sort of icon (?) mark to the column header, that would display some hint / tooltip when user clicks / hovers over it. How I could achieve this sort of behaviour? Thanks.
2 replies
Is it possible to update state of a single row in the records table?
I have the following toggle button on a table, and update Eloquent model based on the $state. The problem I am facing is that all of Toggle buttons on the table re-render right now and create some unpleasant experience. How can I limit this to only a single row?
49 replies
How can I get Resource Form inside the action ->form ?
I have the following code:
I was wondering how would I get data from
I could do but not sure what to input as a Form variable here. Please advice what's the best approach in reusing form schema. Thanks.
9 replies
Is it possible to change table filter icon or trigger with a button?
Users find it very difficult to click on mobile devices, so was wondering if it's possible to maybe trigger filter popup with a button? Also maybe it's possible to open filter modal in a centre of the screen?
29 replies
How can I access pivot relationship in repeater?
I have a belongsToMany relationship but for some reason the pivot is lost. I have fields with same names in both pivot and ref table.
I have tried to use
loadStateFromRelationshipsUsing
instead of relationship
but then I get wrong $record model in Repeater schema... please advice.6 replies
What are my options to use repeater component as collapsible element inside table?
I would like to have products listed inside collapsible panel on a table with some actions attached to each repeater item but I am not sure if it's possible to mix table and form components, or custom is the only solution here?
6 replies