You can override the default mapping for each field by specifying the input type:
<%= f.input :age, as: :string %>
(A complete list of mappings is here .)
But if you want to root out numerical inputs from your project, try:
# config/initializers/simple_form.rb (before/after the SimpleForm.setup block, if this exists) module SimpleForm class FormBuilder < ActionView::Helpers::FormBuilder map_type :integer, :decimal, :float, to: SimpleForm::Inputs::StringInput end end
source share