Releases: mapbender/vis-ui.js
Releases · mapbender/vis-ui.js
0.2.84
- Fix infotext and clipboard event handlers running multiple times in nested generateElements DOM
- Fix validation marking hidden (file input integration) inputs as invalid
- Fix checkboxes and radio buttons ignoring "disabled" setting
- Fix invalid "rows" attribute on non-textarea inputs
- Fix extracted value for (invalid) radio group with no checked radio from false => null
- Emit form validation messages inline instead of using notifyjs
- Disable invalid validation requirements for individual radio buttons
- Prevent initializing required dropdown inputs to empty value
- Add "required" attribute to basic text / textarea inputs with validation constraints
- Support leaving custom validation error message empty
Tabbed validation display, Bootstrap / jqueryui integration fixes
- When validating a form with tabs, activate the tab containing the first invalid input
- Fix tabNavigator tab title encoding
- Fix tabNavigator incompatibility with base widget
- Fix tabNavigator incompatibility with Bootstrap script
Tabbed validation display, Bootstrap / jqueryui integration fixes
- When validating a form with tabs, activate the tab containing the first invalid input
- Fix tabNavigator tab title encoding
- Fix tabNavigator incompatibility with base widget
- Fix tabNavigator incompatibility with Bootstrap script
Integration fixes
- Monkey-patch $.fn.dialog only once
- Leave proper Bootstrap buttons in dialog button sets unchanged
- Fix "null" fallback text on resultTable buttons
- Fix initialization integration issues with jqueryui dialog
- Respect
dblclick
jquerydialogextendjs option if passed in; only default to maximize if option omitted
Integration fixes
- Monkey-patch $.fn.dialog only once
- Leave proper Bootstrap buttons in dialog button sets unchanged
- Fix "null" fallback text on resultTable buttons
- Fix initialization integration issues with jqueryui dialog
- Respect
dblclick
jquerydialogextendjs option if passed in; only default to maximize if option omitted
Fix copyToClipboard, misc integration
- Fix copyToClipboard regression
- Fix checkbox validation state visualization
- Fix inconsistent scalar value handling in multi-select initialization
- Throw an error for missing required property
.text
ontype: "text"
item - Fix cross-origin violations and misc internal deprecations on demo page
Fix copyToClipboard, misc integration
- Fix copyToClipboard regression
- Fix checkbox validation state visualization
- Fix inconsistent scalar value handling in multi-select initialization
- Throw an error for missing required property
.text
ontype: "text"
item - Fix cross-origin violations and misc internal deprecations on demo page
Digitzer toolset removal
NOTE: previous 0.2.0 line has been redacted. All fixes for broken functionality and misc improvements have been reintegrated into 0.1.
- Drop requirements for assorted IE <= 9 shim scripts only included on demo page
- Remove digitizing toolset code, this is now moved to the Mapbender Digitizer repository
Validation fixes, misc
- Error for unsupported values for
.mandatory
is now thrown immediately on rendering, instead of later during form data extraction - No longer generate invalid
<input type="input" ...
, use propertype="text"
instead - Suppress resultTable column button text unless explicitly passed in
.text
property (obviates the need for CSS hacks setting font size to zero) - Respect
maximizable
option also for double-click handling on popup title - Support
.hover
value onbutton
-type item for a custom tooltip text, also supoortattr.title
- Fix inconsistent
.infoText
on checkboxes - Fix Fontawesome 5 conflicts in
.infoText
markup
Date input fixes
- Fix date type input cross-browser behaviour
- Preinitialize required (
mandatory
) date inputs to current date