beyond-rails 0.0.293 → 0.0.294
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 +5 -0
- 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: b08747b155edbe7a1bfbff17baa4b437e6704b0a84ed2012811fbd92ce89611b
|
4
|
+
data.tar.gz: 80ee5b2b5d1effda5d7292eaeaa7bdbdaa1343d0b72e075bee519e1bc44e8700
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 943a5f72642b6d25abcdf6e73796f820918df0112ccd2ba08732e62d69521e69bda92589208757fdf4de02818d6db62b7b59c933adf131d60cebc5dcfc77cc6c
|
7
|
+
data.tar.gz: d687b61765ee12606d800f1a932a3b46f811efb5e87d13e8733d4b4096bbcf7ae1d7ca3bdf891fc2c22c6ec8c78e05c2d390b9c583f39e472ee3ac94a2029cfd
|
@@ -189,6 +189,11 @@ export default class TagInput {
|
|
189
189
|
const lastTag = this.tags[this.tags.length - 1]
|
190
190
|
if ((this.input.value === '') && lastTag) {
|
191
191
|
lastTag.remove()
|
192
|
+
this.change({
|
193
|
+
type: 'remove',
|
194
|
+
removedId: lastTag.id,
|
195
|
+
tags: this.tags.slice()
|
196
|
+
})
|
192
197
|
}
|
193
198
|
}
|
194
199
|
|
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: 0.0.
|
4
|
+
version: 0.0.294
|
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: 2021-07-
|
12
|
+
date: 2021-07-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sassc
|