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 +4 -4
- data/CHANGELOG.md +5 -1
- data/lib/pxs/forms/model_form_builder.rb +1 -1
- data/lib/pxs/forms/models_helper.rb +1 -1
- data/lib/pxs/forms/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e3004cac3bda90a9740df1890d3683fed57f239c7f893ecc3b41a958d6ad983c
|
4
|
+
data.tar.gz: 18641b4f4201bfd16f0519fa8c3fa0fc19cf79381f650740949180373b06211d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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(
|
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
|
89
|
+
options[:html] = (options[:html] || {}).merge({ "class" => options[:class] })
|
90
90
|
|
91
91
|
args << options
|
92
92
|
|
data/lib/pxs/forms/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2025-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email:
|