Release Notes
Version 2.2.0
| This is just an intermediate release and will not receive any patch updates. Please use version 2.3 instead. |
New features and improvements
@BindAutoFocus
A new annotation, @BindAutoFocus, has been added for setting the autofocus attribute on a UI element.
Please note that this annotation should not be used on more than one UI element per page/dialog, and that the target element has to be visible and editable.
For more information, see "@BindAutoFocus".
@BindVariantNames
A new annotation, @BindVariantNames, has been added for adding Vaadin variants to UI elements or PMO classes.
Bugfixes
-
Fix
@UIRadioButtonsnot showing null when usingAvailableValuesType.ENUM_VALUES_INCL_NULL. -
Fix warning and info notifications not being closeable when the respective duration is set to 0 or below. The notifications will now have a close button, like error notifications. (since 2.1.3)
-
Fields for which Vaadin does not support validation (components not implementing
HasValidation, e.g. buttons) now have the HTML attributesinvalidandseverityset by linkki to allow custom styling via CSS. The message text is not displayed. (since 2.1.3) -
Fix icon size for
LinkkiTextandLinkkiAnchor(since 2.1.2) -
IpsPropertyDispatchernow handles empty value sets correctly (since 2.1.1) -
Fix disabled state of checkboxes (since 2.1.1)
-
LinkkiTabLayoutno longer initializes content of tabs when removing them (since 2.1.1) -
BindingContext#modelChangedwas called when creating a table. This accidentally triggered amodelChangeHandlerwhen setting up the UI. (since 2.1.1) -
Fix
@UILinkand@UILabelwith icons in combination with custom style names added by@BindStyleNames. Style classlinkki-has-iconis not used anymore and will be removed in later version. (since 2.1.1)