Releases: kevinchappell/formBuilder
Releases · kevinchappell/formBuilder
v3.12.3
v3.12.2
v3.12.1
3.12.1 (2023-10-05)
Bug Fixes
- Calculation of next control insertion point took into account any divs created by enableEnhancedBootstrapGrid, appendNewField expects only LIs in the calculation and therefore inserts in the wrong position if the EnhancedBootstrap feature is enabled (fd83248)
- changing column width in enhancedBootstrap feature did not work will with a touchpad. Mousemove event will fire multiple times (especially on MacOS with accelerated/decelerated scrolling) cauing the columns to erratically increase/decrease in size. (eb4fd68)
- correctly show sort buttons in non-bootstrap mode. Use helpers.toggleHighlight when sorting elements rather than a custom animation (a1f6638)
- Don't allow rows moved via the keyboard in the enhancedBootstrap feature to swap with prepended or appended fields (5af6feb)
- enableEnhancedBootstrapGrid inserts the rowWrapperNode at the end of the stage instead of using the last position causing controls to always be inserted at the end even if prepend option is set. Use the location of the added Field's LI to append the rowWrapper before moving the LI within the row (5990b67)
- helpers.getBootstrapColumnValue return value is an int, no need to parseInt on int (8caa6a2)
- Only enable mobile sorting action buttons when enhancedBootstrap feature is not enabled. Bootstrap feature has functionality to move rows up and down and the two are incompatible (f7fa676)
- Reset the height of the InvisibleRowPlaceholders in enhancedBootstrap feature when hiding them (40bf3fe)
- When cloning a field in enhancedBootstrap mode invisible row placeholders need to be setup for the new fields (49b3363)
- When drag and dropping a Header field (and other types) in enhancedBootstrap mode the preview needs to be cleaned of row- and col- classes otherwise and invalid field element is placed on the stage. (35d8ea5)
- When drag and dropping elements in enhancedBootstrap mode the colWrapper mouseenter could fire after dragging a field onto another field, this would cause the rowPlaceholders to be hidden and then shown with 1px height (ea91499)
v3.12.0
3.12.0 (2023-10-05)
Bug Fixes
- correct the documentation for formRender action clear() (21c206a)
- Improve browserslist target from '> 1%' which has less than 80% global coverage, to 'defaults' which improves coverage to 85.4% global and is equivalent to '> 0.5%, last 2 versions, Firefox ESR, not dead' (01ca0fa)
Features
- Remove Internet Explorer from the supported browser list. It is no longer part of Browserslist >1% (6c2e23f)
v3.11.1
3.11.1 (2023-10-05)
Bug Fixes
v3.11.0
3.11.0 (2023-10-05)
Bug Fixes
- Add missing options to documentation config (b903345)
- doc link (d5648d1)
- fix broken documentation links (fa6b69f)
- fix link to translation demo page from i18n option page in docs (a4de783)
- Improve the definition of utils.trimObj() to not modify the source object (b807646)
- isPotentiallyDangerousAttribute returns false if the Sanitizer backends have been disabled via config (c75ccdb)
- make dompurify the primary sanitizer backend if it is available. Sanitizer API is still experimental and not support by all browsers therefore it should only be used if DomPurify isn't included (d0043d0)
Features
- Implement XSS and DOM Clobbering protection (a268a0a)
v3.10.6
v3.10.5
v3.10.4
v3.10.3
3.10.3 (2023-09-21)
Bug Fixes
- Cancel stage sort if it would place the field before an appended field or after a prepended field (82242e5)
- Controls added by clicking need to be added as the second last item if opts.append is set (478dbc5)
- invalid selector (a153525)
- Remove unreachable branch in condition. $().closest can be used for both cases as closest() starts traversal from the current element (619005a)
- When dragging a new control onto the stage, ensure the placeholder is placed after any prepended field and before any appended field (d9cf010)