Maybe I’m over complicating this. As it seems I can get it to work properly by using
top_page_default_timeframe:
default: 'yearly'
type: enum
choices:
- all
- yearly
- quarterly
- monthly
- weekly
- daily
And that doesn’t require the top_period_setting.rb file which avoids the enum validation/saving issue I was experiencing using that method.
That method was being attempted with
top_page_default_timeframe:
default: 'yearly'
enum: 'TopPeriodSetting'
Will a PR that isn’t using a enum setting be accepted? (as I have that working)