How to display an enum's label rather than value in a TextColumn?
My
How do I make
Here's what I have. However I don't want this displayed as a description but rather as the value itself.
Customer model has a priority column which stores any one of these values: 1, 2, 3.How do I make
TextColumn::make('priority') display the value instead of the key?Here's what I have. However I don't want this displayed as a description but rather as the value itself.