Skip to content

Commit

Permalink
fix: Remove Size attribute from password field
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentinchampenois committed Dec 3, 2024
1 parent 3f29e9b commit ebef478
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions decidim-core/lib/decidim/form_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ def password_field(attribute, options = {})
field attribute, options do |opts|
opts[:autocomplete] ||= :off
opts[:class] ||= "input-group-field"
opts[:size] = nil
super(attribute, opts)
end
end
Expand Down

0 comments on commit ebef478

Please sign in to comment.