github vaadin/flow 2.8.0.alpha1
Vaadin Flow 2.8.0.alpha1

latest releases: 24.5.0.rc1, 24.5.0.beta7, 24.5.0.beta6...
pre-release2 years ago

Changes since 2.7.21

All changes

New features

  • Automatically use available converters in Binder
    Commit · Pull request

    Backporting #13373 When binding a field and a property which do not have the same value type an exception is thrown. With this change, an attempt is made to automatically pick a suitable converter from the ones provided by the framework.

  • HasLabel backporting to v14
    Commit · Pull request

  • Support Object type keys in Component#getTranslation
    Commit · Pull request · Issue

  • Add support for @eventdata of type Component
    Commit · Pull request

    Makes it possible to use event data expressions that map to any Component / Element from server side state tree. For example it will be possible to use: - @EventData("event.target") Component eventTarget for @DomEvent - @EventData("event.target") Element eventTarget for @DomEvent - DomEventRegistration::addEventDataElement(String expression) to get any element mapped, - and fetch it with `DomEvent::getEventDataElement(String expression) Follow up for #11992, #3356

  • Introduce event.target element to DOM event
    Commit · Pull request

    Makes is possible to obtain the Element instance on the server side that corresponds to event.target for a DOM event. The mapping needs to be explicitly enabled with DomListenerRegistration.mapEventTargetElement() for it to work. Next steps would be to introduce an API to certain component events that leverage the API, or generalizing the API so that one could give out an JS string that would be mapped instead of event.target. Closes #3356

Fixes

Don't miss a new flow release

NewReleases is sending notifications on new releases.