Skip to content

Changing a field's type shouldn't position it at the bottom#2409

Merged
mshibuya merged 1 commit into
railsadminteam:masterfrom
aquajach:master
Sep 23, 2015
Merged

Changing a field's type shouldn't position it at the bottom#2409
mshibuya merged 1 commit into
railsadminteam:masterfrom
aquajach:master

Conversation

@aquajach
Copy link
Copy Markdown
Contributor

Fields that have been re-configured with different types should remain at the original positions, not append at the end of the fields list

For example, I have a couple fields in the middle of my form, :state and :state_updated_at as a pair of related fields. :state has a type as :string by default, but I would like to make it as :enum. Configuring the :state field will separate two fields and make :state appear at the bottom.

🙏🙏🙏

…n at the original positions, not at the bottom in the fields list
mshibuya added a commit that referenced this pull request Sep 23, 2015
Changing a field's type shouldn't position it at the bottom
@mshibuya mshibuya merged commit 817e34b into railsadminteam:master Sep 23, 2015
@mshibuya
Copy link
Copy Markdown
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants