pxs-forms 0.1.4.10 → 0.1.4.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0d044935846c3816063c1ad967ea076a99937ce50b12d075a614e8577dd6d9b9
4
- data.tar.gz: 19bc940db323d08adecc8477e0b8659a20932771d45a7cdd8554536998fa6d5b
3
+ metadata.gz: e3004cac3bda90a9740df1890d3683fed57f239c7f893ecc3b41a958d6ad983c
4
+ data.tar.gz: 18641b4f4201bfd16f0519fa8c3fa0fc19cf79381f650740949180373b06211d
5
5
  SHA512:
6
- metadata.gz: b31e01a2b663b4614b2bf9fbb74092f0faa59dc6d212fa0390773d440ec8220e131189ff72d807278e6331078d9992fc22383e9f2a7b9db1223ffa7e73fa22f5
7
- data.tar.gz: 464b44606220606b60112fff82c0c9cca3cf2592e73b1b92766b20abc2c1bbef19c0dc8e29dab211d6b86dcae342779c462f8dcbcc3acb72ada245c319c0c674
6
+ metadata.gz: 39520fe802c21ba27bf69f38807ffacebe1f32a2d017f066e0d5542c0c179014d3a41958a29b7f52954dded7be49640309ec6ac0d4d82fd8d82c6bbfe5b9de0a
7
+ data.tar.gz: e9d39afe48faca66c17ae98a910ccb4ab0edd8a7a2aa414c2b293fe8134ee919ccb4575456a3fae2caab07def4ad4ff54c4d48ffbdbf72990606360863d4ce31
data/CHANGELOG.md CHANGED
@@ -2,7 +2,11 @@
2
2
 
3
3
  ## Unofficial Release
4
4
 
5
- ## [0.1.4.8-9] - 2025-04-22
5
+ ## [0.1.4.12] - 2025-04-25
6
+
7
+ - Fix select fields not using the proper input name when provided
8
+
9
+ ## [0.1.4.8-11] - 2025-04-22
6
10
 
7
11
  - Fix `data` attribute not being passed along to `turbo_link_to`, `link_button_to`
8
12
 
@@ -245,7 +245,7 @@ class ModelFormBuilder < ActionView::Helpers::FormBuilder
245
245
 
246
246
  safe_join [
247
247
  collection_input(attribute, options) do
248
- @template.collection_select(object.class.model_name.singular.to_sym, attribute, options[:collection], value_method, text_method, {selected:}.merge(options[:select] || {}), merge_input_options({class: "#{"custom-select" unless multiple} #{"is-invalid" if has_error?(attribute)}"}, options[:input_html]))
248
+ @template.collection_select(base_input_name, attribute, options[:collection], value_method, text_method, {selected:}.merge(options[:select] || {}), merge_input_options({class: "#{"custom-select" unless multiple} #{"is-invalid" if has_error?(attribute)}"}, options[:input_html]))
249
249
  end
250
250
  ]
251
251
  end
@@ -86,7 +86,7 @@ module Pxs
86
86
  end
87
87
 
88
88
  # separate HTML options due to form_for parameter strucutre
89
- options[:html] = (options[:html] || {}).merge { "class" => options[:class] }
89
+ options[:html] = (options[:html] || {}).merge({ "class" => options[:class] })
90
90
 
91
91
  args << options
92
92
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Pxs
4
4
  module Forms
5
- VERSION = "0.1.4.10"
5
+ VERSION = "0.1.4.12"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pxs-forms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4.10
4
+ version: 0.1.4.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Poubelle
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-04-22 00:00:00.000000000 Z
11
+ date: 2025-04-25 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: