Skip to content

Commit

Permalink
Add include_blank to select::required example (#332)
Browse files Browse the repository at this point in the history
  • Loading branch information
rbarreca authored Oct 12, 2023
1 parent 6831b66 commit 45db9a1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions demo/app/previews/select_component_preview/required.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
name: :date_range,
label: "Date range",
required: true,
select_options: {
include_blank: true,
},
options: {
"Today" => "today",
"Yesterday" => "yesterday",
Expand Down

0 comments on commit 45db9a1

Please sign in to comment.