A plugin for Administrate
Add to your Gemfile
:
gem 'administrate-field-select_essential'
Run:
$ bundle install
Add to your FooDashboard
:
ATTRIBUTE_TYPES = [
bars: Field::SelectEssential.with_options(
choices: %w[One Two Three],
include_blank: 'Choose An Option',
multiple: true,
),
]