@@ -20,7 +20,7 @@ def select_input_field
2020 end
2121
2222 # @display classes w-full
23- def disabled_select
23+ def disabled_state
2424 render ( Flowbite ::InputField ::Select . new ( attribute : :company , form : form , collection : [ "Option 1" , "Option 2" , "Option 3" ] , disabled : true ) )
2525 end
2626
@@ -40,20 +40,16 @@ def large_select
4040 render ( Flowbite ::InputField ::Select . new ( attribute : :company , form : form , collection : [ "Option 1" , "Option 2" , "Option 3" ] , size : :lg ) )
4141 end
4242
43- # @group Multiple
43+ # @! group Customization options
4444 #
4545 # @display classes w-full
4646
47- def multiple_select
48- render ( Flowbite ::InputField ::Select . new ( attribute : :company , form : form , collection : [ "Option 1" , "Option 2" , "Option 3" ] , multiple : true ) )
47+ def include_blank_select
48+ render ( Flowbite ::InputField ::Select . new ( attribute : :company , form : form , collection : [ "Option 1" , "Option 2" , "Option 3" ] , include_blank : true , label : { content : "With <code>include_blank: true</code>" . html_safe } ) )
4949 end
5050
51- # @group Include blank
52- #
53- # @display classes w-full
54-
55- def include_blank_select
56- render ( Flowbite ::InputField ::Select . new ( attribute : :company , form : form , collection : [ "Option 1" , "Option 2" , "Option 3" ] , include_blank : true ) )
51+ def multiple_select
52+ render ( Flowbite ::InputField ::Select . new ( attribute : :company , form : form , collection : [ "Option 1" , "Option 2" , "Option 3" ] , multiple : true , label : { content : "With <code>multiple: true</code>" . html_safe } ) )
5753 end
5854
5955 # @!endgroup
0 commit comments