Flowdock
method

placeholder_required?

Importance_0
v6.0.0 - Show latest stable - 0 notes - Class: Base
placeholder_required?(html_options) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionview/lib/action_view/helpers/tags/base.rb, line 163
          def placeholder_required?(html_options)
            # See https://html.spec.whatwg.org/multipage/forms.html#attr-select-required
            html_options["required"] && !html_options["multiple"] && html_options.fetch("size", 1).to_i == 1
          end
Register or log in to add new notes.