anchor_view_components 0.26.0 → 0.26.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/app/helpers/anchor/form_builder.rb +8 -3
- data/lib/anchor/view_components/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a2bd0902d51ad208b9bc71cf869c64a255d6a1e071a4e85b0ffcfbc93c95ffe7
|
4
|
+
data.tar.gz: 9186d977123c8f0aefb6c39c8b9f8e3c498a02766ada923e087074ab6d518ed7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd9eaa7d2faf9a73844cc078b7c27d52a2e0325df66bee6db752fd94ee940458849475f74261300d36393a02e59b6ccadee19b8c804ccd1bade1e7e53bea79b7
|
7
|
+
data.tar.gz: f324276441f6744ceeab61a1b50e348312aada0c4f8476273d0d6486421553b513a28ba942f3d37911dff5bd9acf433cc4a45248b1439d936c3673839157bb00
|
data/CHANGELOG.md
CHANGED
@@ -98,9 +98,14 @@ module Anchor
|
|
98
98
|
end
|
99
99
|
|
100
100
|
# The following methods are pending to be replaced with ViewComponents.
|
101
|
-
|
102
|
-
|
103
|
-
|
101
|
+
|
102
|
+
def check_box(attribute, options = {}, *args)
|
103
|
+
super(
|
104
|
+
attribute,
|
105
|
+
options.merge(
|
106
|
+
data: { testid: "checkbox-#{attribute.to_s.dasherize}" }
|
107
|
+
),
|
108
|
+
*args
|
104
109
|
)
|
105
110
|
end
|
106
111
|
|