Hi, On Vaadin 13.0.1 it throws the error: "TypeError: Can not read propert

Hi,

On Vaadin 13.0.1 it throws the error: “TypeError: Can not read property ‘querySelectorAll’ of undefined” inside a Dialog component.

Hi Carlos,

This happens because Vaadin version 13.0.0.1 uses vaadin-combo-box dependency version 4.2.5 and that version wins over the one defiend in the multiselect-combo-box.
The earlier verison had a few issues (https://github.com/vaadin/vaadin-combo-box/issues/780 and https://github.com/vaadin/vaadin-combo-box/issues/792) which were fully resolve in version 4.2.7.

To remedy this, you can do the following:

Explicitly override the vaadin-combo-box dependency version by adding the following to your pom.xml file:

<dependency>
	<groupId>org.webjars.bowergithub.vaadin</groupId>
	<artifactId>vaadin-combo-box</artifactId>
	<version>4.2.7</version>
</dependency>

Optionally, for the version, you can also add a version range in order to always use the latest version:

<version>[4.2.7, 5)</version>

Or,

Update your project to use Vaadin 13.0.0.2, which uses the correct dependency of the vaadin-combo-box and you will not need to add any overrides to your pom file.

Hope this helps,

Goran

Hi Goran,

Thanks for your help. Works perfectly on Vaadin 13.0.2.

Kind regards,

Carlos