Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disabled lazy MultiSelect does not show its values #352

Open
reckart opened this issue Dec 13, 2022 · 0 comments
Open

Disabled lazy MultiSelect does not show its values #352

reckart opened this issue Dec 13, 2022 · 0 comments

Comments

@reckart
Copy link

reckart commented Dec 13, 2022

Actual: When a com.googlecode.wicket.kendo.ui.form.multiselect.lazy.MultiSelect<T> gets disabled, it shows just an empty box.

Expected: When a MultiSelect gets disabled, it continues displaying the values, but they are no longer editable.

It seems that the transport is not initialized when the MultiSelect is disabled, so it wouldn't be able to get its values:

com.googlecode.wicket.kendo.ui.form.multiselect.lazy.MultiSelectBehavior.onConfigure(Component):

		if (this.isEnabled(component))
		{
			this.dataSource.set("serverFiltering", true);
			this.dataSource.setTransportReadUrl(this.getDataSourceUrl());
		}
@reckart reckart changed the title Disabled MultiSelect does not show its values Disabled lazy MultiSelect does not show its values Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant