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 hope Formtastic is the right place to ask this. I think it's Formtastic that has the logic which determines default labels, and input types for an ActiveRecord field. I'm however using as part of ActiveAdmin.
Is there a way for one to use those comments to populate an inputs hint option in Formtastic/ActiveAdmin forms by default? Can someone point me to a good place to start digging for where the system starts figuring out default values for 'input' labels and types?
The text was updated successfully, but these errors were encountered:
I hope Formtastic is the right place to ask this. I think it's Formtastic that has the logic which determines default labels, and input types for an ActiveRecord field. I'm however using as part of ActiveAdmin.
ActiveRecord allows one to add comments to DB columns. See https://guides.rubyonrails.org/active_record_migrations.html#column-modifiers
Is there a way for one to use those comments to populate an
input
shint
option in Formtastic/ActiveAdmin forms by default? Can someone point me to a good place to start digging for where the system starts figuring out default values for 'input' labels and types?The text was updated successfully, but these errors were encountered: