polaris_view_components 1.4.1 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c6aa31da0b0163512ef5d0a328ddb584d20b441d53f73dc56e4797d139f7669
|
4
|
+
data.tar.gz: 76fa870720a0aae542d83c5f963dea6d3006e81e246b6fa4acab1ebc4eff8ef8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0eb65f8ac276abe206b9d29789bfcb0018f8a8dc50db9ae496d15524f02ddd1d63043b4c432aa09fc2b0ffbf22be09f45a4bcd4fa71195d5e0ff61754bab8b29
|
7
|
+
data.tar.gz: 7ee704e3e018b1e6a73a761b1266aa91de3b6aced9f5469a296154f6df24506fd337692123749ca8e91e1f9feedf1f5fafd5da31fc5abecfafbce7e4e6309f65
|
@@ -143,10 +143,6 @@ module Polaris
|
|
143
143
|
polaris_text_field_target: "input"
|
144
144
|
}
|
145
145
|
}
|
146
|
-
if @clear_errors_on_focus
|
147
|
-
append_option(default_options[:data], :action, "focus->polaris-text-field#clearErrorMessages")
|
148
|
-
end
|
149
|
-
|
150
146
|
if @type == :number
|
151
147
|
default_options.merge!({
|
152
148
|
step: @step,
|
@@ -166,6 +162,9 @@ module Polaris
|
|
166
162
|
"Polaris-TextField--monospaced": @monospaced,
|
167
163
|
"Polaris-TextField__Input--suffixed": @suffix.present?
|
168
164
|
)
|
165
|
+
if @clear_errors_on_focus
|
166
|
+
prepend_option(opts[:data], :action, "focus->polaris-text-field#clearErrorMessages")
|
167
|
+
end
|
169
168
|
prepend_option(opts[:data], :action, "polaris-text-field#syncValue")
|
170
169
|
end
|
171
170
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: polaris_view_components
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dan Gamble
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-01-
|
12
|
+
date: 2024-01-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|