Commit Graph

380 Commits

Author SHA1 Message Date
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 6ea537cd55 Fix datepicker workflow to match legacy behavior
- Implement proper button hiding/showing workflow for datepicker inputs
- Buttons now hidden initially when datepicker opens
- Buttons appear only after date selection, not immediately
- Datepicker closes automatically after date selection
- Enhanced CSS specificity for reliable button control
- Robust fallback methods for datepicker closing
- Update to version 25.0.5
2025-07-27 16:40:58 +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 d4adf5e6e2 Remove legacy framework support: clean up for Bootstrap 5 only
- 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
2025-07-27 13:32:49 +02:00
Micha ab45b130b1 Clean up debug code: remove all console.log statements
- 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.
2025-07-26 15:46:30 +02:00
Micha 3eacb7c438 Enhance datepicker UX: position above input with proper styling
- 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.
2025-07-26 15:33:02 +02:00
Micha f4dc8a3dd0 Fix datepicker functionality for Bootstrap 5 x-editable
- 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
2025-07-26 14:25:39 +02:00
Micha 1dbf4d2fa7 bufixed on json source 2025-07-02 17:41:13 +02:00
Micha fa96bccbf3 datepicker working 2025-03-09 12:19:33 +01:00
Micha 8d6ea5e084 added bs5 images 2025-03-04 14:51:12 +01:00
Micha 55d950d703 added bs5 images 2025-03-04 14:33:33 +01:00
Micha af31afd34b fixed jQuery dprecations 2025-03-03 12:53:00 +01:00
Micha 30f1b9a6a9 fixed jQuery dprecations 2025-03-03 12:43:56 +01:00
Micha d0d10a7e90 fixed jQuery dprecations 2025-03-03 12:16:55 +01: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
Micha 94b34e6256 Bootstrap5 support 2025-02-21 16:57:59 +01:00
AleksandrChernyavenko 85fa502f2c default value for combodate.maxYear
Set default value  for combodate.maxYear to current year
2016-03-01 11:48:55 +02:00
Georgi Kostov c2e64bc989 removed commented out code 2016-02-05 09:40:05 +02:00
Georgi Kostov 6099e5176d added Slider editor 2016-01-21 12:40:50 +02:00
Tim Uy 8de8dde8b6 Merge pull request #694 from smasala/master
stop css breaking in a popup BS3
2015-11-11 08:18:15 -08:00
Tim Uy 0cf3b10e8e Merge pull request #713 from powellzer/master
Check if select2 input exists before destroy
2015-11-11 08:12:50 -08:00
Pablo Santa Cruz 3e87256663 Fix a typo
Fix a very small typo in a comment.
2015-08-31 09:44:35 -04:00
powellzer 804f4f5521 Check if select2 input exists before destroy
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.
2015-01-29 12:05:42 -05:00
Steven Masala 5b769315f7 Update editable-form.css 2014-12-16 16:47:58 +01:00
vitalets 6625a2afe3 updatcombodate to 1.0.5 2013-11-04 17:59:26 +04:00
vitalets 00709fcc46 submit single field, fix #371 2013-11-04 17:54:16 +04:00
vitalets c77ebf6cc7 select2: show placeholder when value is empty 2013-11-02 22:28:45 +04:00
vitalets 50cb33f721 update select2 to 3.4.4 2013-11-02 22:21:23 +04:00
vitalets 45cae0de5f docs: corect link to datepicker options 2013-11-01 13:42:56 +04:00
vitalets 7191240c75 dev build 2013-10-10 20:42:55 +04:00
vitalets ad3c8f5c83 fix lint errors 2013-10-10 20:39:45 +04:00
vitalets df3e2daffd allow validate to change submitted value, fixes #400 2013-10-10 20:36:36 +04:00
vitalets 8efa4060c5 bs3 popover: placement auto, fix #396 2013-10-07 19:32:47 +04:00
vitalets 882ac60346 fix lint warns 2013-10-07 12:53:32 +04:00
vitalets 57e3ca815b select2: tags mode with space separator, fix #357 2013-10-07 12:51:58 +04:00
vitalets 0ef1ad5ba4 dateui: clear button does not submit, fixes #374 2013-10-05 14:29:58 +04:00
vitalets 99b9fc1873 set width: auto to bs3 form-controls, see #393 2013-10-04 22:04:55 +04:00
vitalets 28e1f68cd3 fix processing true returned by validate method, fix #155 2013-10-04 21:33:39 +04:00
vitalets c5610a678f remove original title 2013-10-02 00:18:25 +04:00
vitalets 29414ac0dc comments 2013-10-01 23:10:31 +04:00
vitalets 1defc2ffce new links to bootstrap 2013-10-01 22:43:56 +04:00
vitalets af4e7c148e remove typeahead css fixed 2013-09-28 14:49:10 +04:00
vitalets 06934b9656 add typeahead.js, fix #362 2013-09-28 14:48:39 +04:00
vitalets a55f38ab60 select: add sourceOptions to modify source request method and params 2013-09-22 12:34:22 +04:00
vitalets 1329e0ccf9 add option escape, fixes #377 2013-09-22 01:05:42 +04:00
vitalets 207f30b266 handleEmpty checks only html by default, excluding wysihtml5, refers to #344, #376 2013-09-22 00:11:37 +04:00
vitalets 3166073666 fix double initSelection call in select2 2013-09-21 21:21:48 +04:00
vitalets cc72d35664 update select2-bootstrap css 2013-09-21 21:11:08 +04:00