Skip to content

Releases: ThomasDev-de/bs-select

v2.1.20: Fix undefined check for settings.value in dropdown logic

09 Jan 11:22
Compare
Choose a tag to compare
Corrected the type check for settings.value to ensure proper functionality when determining the initial selected value. This fixes potential issues where the dropdown may not initialize correctly. Additionally, minor formatting adjustments were made for code consistency.

v2.1.19: Update bsSelect dropdown plugin to add features and optimizations

04 Jan 22:26
Compare
Choose a tag to compare
Added support for a `value` setting to initialize dropdowns with specific values and improved logic for handling multiple vs. single selection modes. Enhanced internal functions with error handling, clearer fallback mechanisms, and better compatibility for customized settings.

v2.1.18: Enable proper handling of disabled state for dropdowns

03 Jan 09:49
Compare
Choose a tag to compare
Refactored the handling of the `disabled` state in the Bootstrap select plugin to ensure both visual and functional updates. Buttons reflect the `disabled` state reliably, and events are consistently triggered to notify other components. This improves accessibility and handles edge cases where interactions were previously inconsistent.

v2.1.17: Add 'selectFirst' and 'selectLast' methods with event triggers

03 Jan 09:14
Compare
Choose a tag to compare
Implemented 'selectFirst' and 'selectLast' methods for setting the first and last options, respectively, with appropriate event triggers (`selectFirst.bs.select` and `selectLast.bs.select`). Enhanced the debug functionality to display parameters, streamlined value change detection, and updated the documentation and demo to reflect the new features. Minor code refactoring and button styling improvements were also made in the demo for better usability.

v2.1.16: Refactor bsSelect initialization and improve options handling

05 Dec 10:26
Compare
Choose a tag to compare
Refactored bsSelect plugin to streamline options handling by introducing a helper function to check for existing options. The initialization process now differentiates between setting new options and using defaults more clearly, reducing redundancy. Additionally, updated the plugin to handle different types for the `options` parameter, hence improving code clarity and robustness.

v2.1.14: Update default text and fix subtext formatting in bsSelect

15 Nov 20:30
Compare
Choose a tag to compare
Updated the default placeholder text for the selection button and corrected the subtext formatting logic in the bsSelect jQuery plugin. Ensured proper handling of selected item count and appearance in the dropdown.

v2.1.13: Improve dropdown title formatting

15 Nov 18:01
Compare
Choose a tag to compare
Added a "formatSelectedText" function to handle formatting of selected text, making it easier to maintain and customize. This change enhances the readability and usability of the code by centralizing text formatting logic.

v2.1.12: Update dropdown button class and text truncation

15 Nov 13:27
Compare
Choose a tag to compare
Modified dropdown button classes for better alignment and added text-truncate to ensure selected text is properly truncated. Adjusted structure to handle multiple configurations more effectively.

v2.1.11: Add 'clear' case to bs-select plugin

15 Nov 13:16
Compare
Choose a tag to compare
Implemented a 'clear' case to the bs-select plugin, allowing users to clear the selection and remove all options. This update also triggers a 'clear.bs.select' event after clearing.

v2.1.10: Add 'selectFirst' and 'selectLast' options to bs-select

15 Nov 09:38
Compare
Choose a tag to compare
Implemented the 'selectFirst' and 'selectLast' cases to allow selection of the first and last options, respectively. This enhancement checks for changes before updating the selected value and ensures proper triggering of relevant functions.