New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

choices.js

Package Overview
Dependencies
Maintainers
0
Versions
119
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

choices.js - npm Package Versions

23
12

11.0.6

Diff

Changelog

Source

[11.0.6]

Breaking changes

  • Changes to setChoices & clearChoices adjust how the selection and new choices combine when using replaceChoices: true is used to better match v10 and v11.0.3 behavior.
    • To remove duplication, consider duplicateItemsAllowed: false to be set, or use the new 6th argument replaceItems:true

Bug Fixes

  • Fix setChoices & clearChoices related regressions @Xon (#1278 #1283
  • Revert "Do not preventDefault on item to support dragging" #1266 @Xon (#1282)

Chore

  • Add e2e test for dropdown behavior on item mouse down/click
  • Add e2e test for serveral setChoices/clearChoices actions
jshjohnson
published 11.0.5 •

Changelog

Source

[11.0.5] (2025-02-26)

Bug Fixes

  • Fix regression when calling setChoices #1278
jshjohnson
published 11.0.4 •

Changelog

Source

[11.0.4]

Features

  • Do not preventDefault on item to support dragging #417 #1094 #920
jshjohnson
published 11.0.3 •

Changelog

Source

[11.0.3]

jshjohnson
published 11.0.2 •

Changelog

Source

[11.0.2] (2024-09-05)

jshjohnson
published 11.0.1 •

Changelog

Source

[11.0.1] (2024-08-30)

jshjohnson
published 11.0.0 •

Changelog

Source

Bug Fixes (from 11.0.0)

  • Fix input text - method setValue didn't work #1207
  • Fix tab and esc keys handling #1234 #1209
  • Fix Notice for max item limit is removed permanently if you keep typing #1201
  • Fix search was not stopped when leaving focus with esc key #1240
  • Fix single-select mode disabling search when tab => arrow keys are pressed [#1230]https://github.com/Choices-js/Choices/issues/1230)
  • Fix HTML comments were copied from backing <option> and were rendered as text [#1231]https://github.com/Choices-js/Choices/issues/1231)
jshjohnson
published 11.0.0-rc8 •

Changelog

Source

[11.0.0-rc8] (2024-08-23)

⚠ BREAKING CHANGES

  • Trigger a search event (with empty value and 0 resultCount) when search stops

Features

  • searchResultLimit can be set to -1 for no limit of search results to display.
jshjohnson
published 10.2.0 •

Changelog

Source

Bug Fixes (from 10.2.0)

  • Reduce work done for unhighlightAll during on-click handler (batching in v11.0.0-rc8 would also have helped) #522 #599
  • Improve performance when rendering very large number of items and choices. Stuttering when stopping searching or selecting an item still happens depending on device and number of choices.
jshjohnson
published 10.1.0 •

23
12
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc