Commit Graph

14 Commits

Author SHA1 Message Date
Micha
1ae5282bc7 v25.0.6: Fix bootstrap-datepicker and select2 integration for Bootstrap 5
Major improvements and fixes:

## Bootstrap-datepicker Integration
- Fix DPGlobal undefined error in date input
- Remove conflicting bdatepicker alias that was causing noConflict errors
- Add graceful error handling for missing bootstrap-datepicker dependency
- Implement proper initialization sequence for DPGlobal API
- Position datepicker above input with improved UX styling

## Select2 Integration & Compatibility
- Fix select2 integration with Select2 v4.1.0-rc.0
- Resolve issue where select2:select event fired but value didn't update
- Add event handler to manually update select2 value on selection
- Fix webpack build inconsistency between demo and standalone builds
- Remove redundant npm dependencies from demo (bootstrap-datepicker, select2)
- Implement proper Select2 v4 API usage for value setting

## Build System Improvements
- Fix webpack configuration to properly handle CSS imports
- Remove CSS file copying for npm dependencies, use webpack imports instead
- Ensure consistent input type registration across all build targets
- Clean up build output and remove debugging code

## Demo & Testing
- Update demo to use webpack source build for consistency
- Add comprehensive error handling and user feedback
- Clean up all debugging console output
- Improve demo page descriptions and usability

## Technical Fixes
- Fix 'Unknown type: select2' error in demo build
- Resolve value change detection preventing save operations
- Implement savenochange option for better UX
- Remove deprecated jQuery UI conflicts and aliases
- Update to modern webpack and build practices
2025-07-29 13:36:06 +02:00
Micha
f2a298f73a Bundle select2 as npm dependency instead of local files
- Added select2 as npm dependency
- Removed local select2 library files to eliminate duplication
- Updated webpack config to copy select2.css to dist folder
- Added global jQuery attachment fix for select2
- Updated README to reflect bundled dependency approach
- Enabled select2 demo functionality
2025-07-28 13:14:59 +02:00
Micha
dda7550181 Fix select2 library dependency checks
- Added safety checks for select2 library availability
- Prevents TypeError when select2 library not loaded
- Falls back to regular input behavior when select2 unavailable
- Fixed getSeparator function to handle missing select2 defaults
2025-07-28 12:54:17 +02:00
Micha
9d84a1f21d Restore select2 input functionality after Bootstrap 5 cleanup
- Restored select2 input type from earlier commit d4adf5e^
- Added select2 import to bootstrap5-editable.js bundle
- Updated demo with select2 example (requires select2 library)
- Enhanced README.md with comprehensive select2 documentation
- Includes support for static sources, AJAX sources, and advanced configuration
- Select2 library must be included separately (not bundled)
2025-07-28 12:48:43 +02:00
Micha
53bc5ef34e Fix CSS layout issues for Bootstrap 5 inline editing
- Add flexbox layout for inline editing forms
- Constrain select dropdown maximum width to prevent overflow
- Improve button styling and spacing
- Fix alignment issues in inline mode
- Bump version to 25.0.2
2025-07-27 15:11:10 +02:00
Micha
323de3b9e3 fixed jQuer dprecations 2025-03-03 11:56:17 +01:00
Micha
263c9ab3c4 Bootstrap 5 works 2025-02-21 17:25:26 +01:00
vitalets
b3a73fe08e dev build 1.5.1 2013-11-04 14:58:17 +04:00
vitalets
b86d5f120a build dev 2013-10-07 12:54:30 +04:00
vitalets
6ac0355726 build ready 2013-08-31 14:08:44 +04:00
vitalets
3b6319bf55 dist 2013-08-08 00:18:03 +04:00
vitalets
d27e43c0cf dev build 1.4.6 2013-08-07 11:26:03 +04:00
vitalets
9136f8d34a new dist 2013-06-23 17:40:34 +04:00
vitalets
ad30bfa11f add bower support 2013-06-23 16:26:34 +04:00