Flowbite::Input::Select

The Select component renders a select input field for use in forms.

https://flowbite.com/docs/forms/select/

Wraps ActionView::Helpers::FormOptionsHelper#select: https://api.rubyonrails.org/classes/ActionView/Helpers/FormOptionsHelper.html#method-i-select

API reference

Inherits from Flowbite::Input

Constructor

def initialize(form:, attribute:, class: nil, collection: [], disabled: false, include_blank: false, multiple: false, options: {}, size: :default)

See also

Ruby API documentation for class Flowbite::Input::Select