beyond-rails 1.0.15 → 1.0.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/src/js/components/TagInput.js +4 -0
- metadata +18 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b780979f87486b16c2ea25af18ad8a37a103e556aed14f811a8fd7f1eb1c750f
|
4
|
+
data.tar.gz: 8575fdd96a7871e13a93456a1445f873a7088b38d8498a7ec5f42811a23fcacf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd2eb48dc13b325b990b9ce0cdbf6ff231f1f068aab15c0d44f1dc2b24cca12a2f02402e7965923b9f22239fde8e1f1191f33b219b0165f085a3d8bd83302004
|
7
|
+
data.tar.gz: dda98c04a231066f187a1d02e68b0b39c05ca526ee652cb567e4a1c4fd8ba8aa184961480666db8668c0299cc3966ddfcfc030fb02423a5e1bfd6c942abc06fa
|
@@ -241,6 +241,10 @@ export default class TagInput {
|
|
241
241
|
lastValue = input.value
|
242
242
|
})
|
243
243
|
|
244
|
+
this.addEvent(input, 'blur', () => {
|
245
|
+
this.addTagIfNeeded()
|
246
|
+
})
|
247
|
+
|
244
248
|
this.addEvent(input, 'input', event => {
|
245
249
|
this.suggestInputIfNeeded(input.value)
|
246
250
|
this.raf(() => {
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beyond-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kmsheng
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2022-
|
12
|
+
date: 2022-06-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sassc
|
@@ -55,30 +55,42 @@ dependencies:
|
|
55
55
|
name: actionpack
|
56
56
|
requirement: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
|
-
- - "
|
58
|
+
- - ">="
|
59
59
|
- !ruby/object:Gem::Version
|
60
60
|
version: '5.0'
|
61
|
+
- - "<"
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '7.0'
|
61
64
|
type: :runtime
|
62
65
|
prerelease: false
|
63
66
|
version_requirements: !ruby/object:Gem::Requirement
|
64
67
|
requirements:
|
65
|
-
- - "
|
68
|
+
- - ">="
|
66
69
|
- !ruby/object:Gem::Version
|
67
70
|
version: '5.0'
|
71
|
+
- - "<"
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: '7.0'
|
68
74
|
- !ruby/object:Gem::Dependency
|
69
75
|
name: activemodel
|
70
76
|
requirement: !ruby/object:Gem::Requirement
|
71
77
|
requirements:
|
72
|
-
- - "
|
78
|
+
- - ">="
|
73
79
|
- !ruby/object:Gem::Version
|
74
80
|
version: '5.0'
|
81
|
+
- - "<"
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '7.0'
|
75
84
|
type: :runtime
|
76
85
|
prerelease: false
|
77
86
|
version_requirements: !ruby/object:Gem::Requirement
|
78
87
|
requirements:
|
79
|
-
- - "
|
88
|
+
- - ">="
|
80
89
|
- !ruby/object:Gem::Version
|
81
90
|
version: '5.0'
|
91
|
+
- - "<"
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '7.0'
|
82
94
|
- !ruby/object:Gem::Dependency
|
83
95
|
name: will_paginate
|
84
96
|
requirement: !ruby/object:Gem::Requirement
|