diff --git a/Gemfile.lock b/Gemfile.lock index 68a173a..97d0f54 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - turbo_material (0.1.8) + turbo_material (0.1.9) importmap-rails (~> 2.0.1) rails (~> 7.1, >= 7.1.2) stimulus-rails (~> 1.3) diff --git a/app/views/components/_select.html.erb b/app/views/components/_select.html.erb index 8c64cd7..8d783f7 100644 --- a/app/views/components/_select.html.erb +++ b/app/views/components/_select.html.erb @@ -1,5 +1,5 @@ <%# locals: (form:, disabled: false, required: false, name:, label: nil, id:, checked: false, value: nil, parent: nil, frame: nil, selected_text: nil, fixed: false, options: [], hint: nil, helper: nil, additional_classes: 'w-full') %> -
data-frame="<%= frame %>"<% end %> id="<%= id %>"> <%= form.hidden_field name.to_sym, value: value %>
aria-required="true"<% end %> > + <%- if label -%> <%= label || name.capitalize %> + <%- end -%> <%= selected_text || value %> diff --git a/lib/turbo_material/version.rb b/lib/turbo_material/version.rb index d89b8a8..a8cb5dd 100644 --- a/lib/turbo_material/version.rb +++ b/lib/turbo_material/version.rb @@ -1,3 +1,3 @@ module TurboMaterial - VERSION = "0.1.8" + VERSION = "0.1.9" end