Has_One field does not respect custom views
Created by: bo-oz
- What were you trying to do?
I've overwritten the views for Field::Boolean, to display a FontAwesome icon instead of a true/false text. This works fine when displaying the record itself. But when this record is shown in content of a different record through Field::HasOne
, the rendered box does not respect the overwritten views. In other words, it reverts back to showing true/false instead of the icons.
- What did you end up with (logs, or, even better, example apps are great!)?
The box only displays static text and does not render the custom views.
- What versions are you running?
- Rails 5.2.2
- administrate 0.12.0