Skip to content

Commit

Permalink
FIO-8548: updated @formio/choices.js version to latest, fixed issue w…
Browse files Browse the repository at this point in the history
…ith tags component
  • Loading branch information
roma-formio committed Jan 17, 2025
1 parent e020642 commit c250e0b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 26 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"homepage": "https://github.com/formio/formio.js#readme",
"dependencies": {
"@formio/bootstrap": "3.0.0-dev.119.c4cb299",
"@formio/choices.js": "^10.2.1",
"@formio/choices.js": "11.0.3-rc.1",
"@formio/core": "2.1.0-dev.193.68cf8c3",
"@formio/text-mask-addons": "3.8.0-formio.4",
"@formio/vanilla-text-mask": "^5.1.1-formio.1",
Expand Down
2 changes: 1 addition & 1 deletion src/components/tags/Tags.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export default class TagsComponent extends Input {
const changed = super.setValue(value, flags);
if (this.choices) {
let dataValue = this.dataValue;
this.choices.removeActiveItems();
this.choices.clearStore();
if (dataValue) {
if (typeof dataValue === 'string') {
dataValue = dataValue.split(this.delimiter).filter(result => result);
Expand Down
34 changes: 10 additions & 24 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
dependencies:
"@babel/types" "^7.26.3"

"@babel/runtime@^7.0.0", "@babel/runtime@^7.9.2":
"@babel/runtime@^7.0.0":
version "7.26.0"
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.26.0.tgz#8600c2f595f277c60815256418b85356a65173c1"
integrity sha512-FDSOghenHTiToteC/QRlv2q3DhPZ/oOXTBoirfWNx1Cx3TMVcGWQtMMmQcSvb/JjpNeGzx8Pq/b4fKEJuWm1sw==
Expand Down Expand Up @@ -214,14 +214,12 @@
resolved "https://registry.yarnpkg.com/@formio/bootstrap/-/bootstrap-3.0.0-dev.119.c4cb299.tgz#bfdf821171da3f29f2315215d0dccdc64a3fc717"
integrity sha512-V+NCuZXjmEpLy9H5E+20D6alGQBABMiqongLuZR0FuuCPEDyrKO5UR5dbP2dx2vaV+ue1qUO8DscrhJRftGhgA==

"@formio/choices.js@^10.2.1":
version "10.2.1"
resolved "https://registry.yarnpkg.com/@formio/choices.js/-/choices.js-10.2.1.tgz#d0f5c032d94f33152b6036f6a5bb42fcc4684e31"
integrity sha512-NCE5u7jG3XGokJP16MyAbVSUptKu/mpJYAxd4PPIoLiO/l9Do5uoOQ0MgNb9qG9qABJiOX+qNRE8q8RybY/SwQ==
"@formio/choices.js@11.0.3-rc.1":
version "11.0.3-rc.1"
resolved "https://registry.yarnpkg.com/@formio/choices.js/-/choices.js-11.0.3-rc.1.tgz#4b09cc348de7a20ef9e0084e25a15cec4ee3c821"
integrity sha512-hkgXxOWov/vPT/w7cJX+qPRkfYu6O6OfeE+8RB5GxieHQU0gWSEAu7QUJfyW5aP9U1bdm1ZvXtPAe9lgXd2XgQ==
dependencies:
deepmerge "^4.2.2"
fuse.js "^6.6.2"
redux "^4.2.0"
fuse.js "^7.0.0"

"@formio/[email protected]":
version "2.1.0-dev.193.68cf8c3"
Expand Down Expand Up @@ -2244,11 +2242,6 @@ deep-is@^0.1.3, deep-is@~0.1.3:
resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.4.tgz#a6f2dce612fadd2ef1f519b73551f17e85199831"
integrity sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==

deepmerge@^4.2.2:
version "4.3.1"
resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.3.1.tgz#44b5f2147cd3b00d4b56137685966f26fd25dd4a"
integrity sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==

default-compare@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/default-compare/-/default-compare-1.0.0.tgz#cb61131844ad84d84788fb68fd01681ca7781a2f"
Expand Down Expand Up @@ -3532,10 +3525,10 @@ functions-have-names@^1.2.3:
resolved "https://registry.yarnpkg.com/functions-have-names/-/functions-have-names-1.2.3.tgz#0404fe4ee2ba2f607f0e0ec3c80bae994133b834"
integrity sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==

fuse.js@^6.6.2:
version "6.6.2"
resolved "https://registry.yarnpkg.com/fuse.js/-/fuse.js-6.6.2.tgz#fe463fed4b98c0226ac3da2856a415576dc9a111"
integrity sha512-cJaJkxCCxC8qIIcPBF9yGxY0W/tVZS3uEISDxhYIdtk8OL93pe+6Zj7LjCqVV4dzbqcriOZ+kQ/NE4RXZHsIGA==
fuse.js@^7.0.0:
version "7.0.0"
resolved "https://registry.yarnpkg.com/fuse.js/-/fuse.js-7.0.0.tgz#6573c9fcd4c8268e403b4fc7d7131ffcf99a9eb2"
integrity sha512-14F4hBIxqKvD4Zz/XjDc3y94mNZN6pRv3U13Udo0lNLCWRBUsrMv2xwcF/y/Z5sV6+FQW+/ow68cHpm4sunt8Q==

gensync@^1.0.0-beta.2:
version "1.0.0-beta.2"
Expand Down Expand Up @@ -6603,13 +6596,6 @@ rechoir@^0.8.0:
dependencies:
resolve "^1.20.0"

redux@^4.2.0:
version "4.2.1"
resolved "https://registry.yarnpkg.com/redux/-/redux-4.2.1.tgz#c08f4306826c49b5e9dc901dee0452ea8fce6197"
integrity sha512-LAUYz4lc+Do8/g7aeRa8JkyDErK6ekstQaqWQrNRW//MY1TvCEpMtpTWvlQ+FPbWCx+Xixu/6SHt5N0HR+SB4w==
dependencies:
"@babel/runtime" "^7.9.2"

reflect.getprototypeof@^1.0.6:
version "1.0.8"
resolved "https://registry.yarnpkg.com/reflect.getprototypeof/-/reflect.getprototypeof-1.0.8.tgz#c58afb17a4007b4d1118c07b92c23fca422c5d82"
Expand Down

0 comments on commit c250e0b

Please sign in to comment.