Skip to content

Commit f86aa24

Browse files
committed
Fix build for ruby 3.0
1 parent 140b56d commit f86aa24

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/datagrid/form_builder.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def datagrid_label(filter_or_attribute, text = nil, **options, &block)
4747
# * `type` - special attribute the determines an input tag to be made.
4848
# Examples: `text`, `select`, `textarea`, `number`, `date` etc.
4949
# @return [String] an input tag for the corresponding filter name
50-
def datagrid_filter_input(attribute_or_filter, select_choices: nil, select_options: nil, **options, &block)
50+
def datagrid_filter_input(attribute_or_filter, select_choices: nil, select_options: {}, **options, &block)
5151
filter = datagrid_get_filter(attribute_or_filter)
5252
options = add_filter_options(filter, **options)
5353
type = options.delete(:type)&.to_sym

0 commit comments

Comments
 (0)