From 45db9a11609dd580bf187365ae302f3f5bceb17f Mon Sep 17 00:00:00 2001 From: Rob Barreca Date: Thu, 12 Oct 2023 09:17:51 -1000 Subject: [PATCH] Add include_blank to select::required example (#332) --- demo/app/previews/select_component_preview/required.html.erb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/demo/app/previews/select_component_preview/required.html.erb b/demo/app/previews/select_component_preview/required.html.erb index 3f1a8e3d..8d43f88c 100644 --- a/demo/app/previews/select_component_preview/required.html.erb +++ b/demo/app/previews/select_component_preview/required.html.erb @@ -2,6 +2,9 @@ name: :date_range, label: "Date range", required: true, + select_options: { + include_blank: true, + }, options: { "Today" => "today", "Yesterday" => "yesterday",