- Remove all Bootstrap 2/3 source files and containers
- Remove jQuery UI datepicker dependencies and files
- Remove legacy input extensions (select2, typeahead, wysihtml5)
- Remove old test framework libraries
- Clean up dist files to match source removal
- Prepare codebase for Bootstrap 5 only distribution
- Removed all debug console.log statements from source files
- Cleaned up date.js and datefield.js of debugging output
- Simplified test.js by removing extensive debug logging
- Reduced bundle size and improved production readiness
- Maintained all functionality while removing debug clutter
Code is now production-ready without console noise.
- Added CSS positioning to display inline datepicker above input field
- Enhanced datepicker styling with background, border and shadow
- Improved template with datepicker-above class for better positioning
- Maintains Bootstrap 5 compatibility and inline mode functionality
This provides a better user experience by preventing the datepicker
from appearing below and potentially being cut off by page boundaries.
- Updated Gruntfile to use npm bootstrap-datepicker instead of bundled version
- Fixed DPGlobal reference from bdatepicker to datepicker
- Changed mode from inline to popup to ensure date input type is used
- Fixed missing type assignment in editable element initialization
- Enhanced input2value function with fallback logic to extract dates from dates array
- Added comprehensive debugging and error handling
- Datepicker now properly opens, captures selections, and submits formatted dates
Avoiding TypeError of accessing property ‘data’ on an undefined error.
This error occurs when destroying an editable with input type select2
before the select2 has been created.