You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am unsure whether this issue should live in ActiveAdmin or Formtastic so I am creating it in both places. There seems to be some strange behaviour when attempting to submit a form (either edit or create) on a model containing ActiveRecord validations. For example, let's assume we have a User model with validates :name, presence: true
Current Behaviour
Attempting to submit this form will provide a validation error (as expected), except the page elements are not formatted as they should.
I am unsure why the page is injecting the HTML as plain text, nor I am able to find where this injection takes place.
The problem appears to occur regardless of the type of validation message. Manually editing the HTML produces, what I can only assume, is the expected result.
I am unsure whether this issue should live in ActiveAdmin or Formtastic so I am creating it in both places. There seems to be some strange behaviour when attempting to submit a form (either edit or create) on a model containing ActiveRecord validations. For example, let's assume we have a
User
model withvalidates :name, presence: true
Current Behaviour
Attempting to submit this form will provide a validation error (as expected), except the page elements are not formatted as they should.
I am unsure why the page is injecting the HTML as plain text, nor I am able to find where this injection takes place.
The problem appears to occur regardless of the type of validation message. Manually editing the HTML produces, what I can only assume, is the expected result.
Gem versions
ActiveAdmin issue
The text was updated successfully, but these errors were encountered: