I’m trying to display the name from a select field.
Below code shows “fix” or “improvement” but I’m trying to get the name “Fix” and “Improvement”.
<?= $article->category() ?>
Appreciate the help!
Either change your blueprint:
Or do it via code in your template:
<?= str::ucfirst($article->category()) ?>
Edit: if you change your blueprint, you’ll have to loop through all your existing content and re-save it.
Thanks for helping me out!