-
I have a column in my table called Priority that I want to display as a pill where the formatting (color and icon) varies based on the Priority value. I have this built as a blade component. How / Where can I do this? |
Beta Was this translation helpful? Give feedback.
Answered by
dmhall0
Aug 7, 2022
Replies: 1 comment
-
Nevermind, I figured it out... |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
dmhall0
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nevermind, I figured it out...
->addColumn('urgency', function (Content $model) {
return view('components.pill-setup', ['type' => $model->urgency]);
})