Boolean Admin View
Created 2 years ago by jcastillotx

I have a Boolean that I show on the admin index page of my module and it shows the value of 1 instead of yes or know. Do I need to define in the config to show the text instead?

jcastillotx  —  2 years ago

But the admin page is created automatically. So would I use the config function when I assign the fields?

ryanthompson  —  2 years ago

You talking about a table column?

You can map presenter methods like this: entry.boolean_example.icon or whatever method (snake_case) or even literally entry.boolean_example.icon().

ryanthompson  —  2 years ago

if not a table let me know what you mean by:

admin index page