Skip to content

Commit

Permalink
Fixed bug in handling array of addons with nil values.
Browse files Browse the repository at this point in the history
  • Loading branch information
UweKubosch committed Mar 20, 2024
1 parent 2b81333 commit 13b8b91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {
}

group 'no.datek'
version '0.16.0'
version '0.16.1'
final String JRUBY_VERSION = '9.4.5.0';

repositories {
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/ruby/form_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ def bootstrap_select_input(object, field_name, option_map = [], **opts, &block)
html << %{<div class="input-group flex-nowrap" >} if append
html << select_input(object, field_name, option_map, class: classes, no_break: true, **opts, &block)
if append
[*append].each do |addon|
[*append].compact.each do |addon|
if addon.start_with?('<')
html << addon
else
Expand Down

0 comments on commit 13b8b91

Please sign in to comment.