@carlosantoniodasilva as you asked in #531 I've created a new issue.
So do you mean f.input_field should use placeholder component when we even use it without f.input do?
<%= simple_form_for(@user) do |f| %>
<%= f.input_field :name %>
<% end %>
should it generate html with placeholder from locales? If so I think we can add :placeholder component to that wrapper https://github.com/plataformatec/simple_form/blob/master/lib/simple_form/form_builder.rb#L136. wdyt?
If we are going to add the placeholder component to the input_field wrapper, I think we should add the others components that do not generate tags. E.g. min_max, maxlength, etc.
add components that don't generate tags for input_field
if it's easy as I think here is a PR - #633
Arr, this has just tripped me up, +1 to fixing this.
This looks like it reintroduced the problem in #310 in simple_form 2.1.0.
Can you please provide a sample application that reproduces the error?
As a result, valid email addresses will not validate in the email field. Since the email field already validates email addresses, specifying the pattern in this case seems superfluous anyway.