diff --git a/lib/simple_form/components/html5.rb b/lib/simple_form/components/html5.rb index 545b8f16..e3bec5bd 100644 --- a/lib/simple_form/components/html5.rb +++ b/lib/simple_form/components/html5.rb @@ -9,7 +9,7 @@ module SimpleForm @html5 = true if has_required? input_html_options[:required] = true - input_html_options['aria-required'] = true + input_html_options[:'aria-required'] = true end nil end