ordering w/ enum
Author: brewster1134Created May 20, 2013Updated Sep 20, 2026
Labelsconfirmed bug
I am having an issue controlling field orders with an enum. With the following config, the :type field is in between :title and :sub-title. I can move type below :sub-title and below :url, but never above :title. If i remove the :enum block, i can order it as i please. is this a known issue?
rails_admin do
include_fields :logo, :type, :title, :sub_title, :url
edit do
field :logo, :carrierwave
field :type, :enum do
enum { Settings.sponsors.collect{ |key, value| [value, key] } }
end
field :title, :string do
help 'ie Person/Company Name'
end
field :sub_title, :string do
help 'ie Foundation Name'
end
field :url, :string
end
endSource: railsadminteam/rails_admin