From 149c6399f531672b49e8f329a668a528ad3899db Mon Sep 17 00:00:00 2001 From: Pierre de La Morinerie Date: Tue, 31 May 2022 15:08:45 +0200 Subject: [PATCH] view: properly hide labels of the datetime selector The accessibility labels where not properly hidden, which resulted in the labels being visible and stacked vertically. --- config/initializers/date_select.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/date_select.rb b/config/initializers/date_select.rb index ce68f165e..174db1fb3 100644 --- a/config/initializers/date_select.rb +++ b/config/initializers/date_select.rb @@ -25,7 +25,7 @@ module ActionView end field_for = "#{prefix.join('_')}_#{@options[:field_name]}" - "" + "" end # Returns the separator for a given datetime component.