<p>I have an Solution for the enabled disabeld state which cause that the S

I have an Solution for the enabled disabeld state which cause that the Select box dont work. Here is the Code ....


I have an Solution that works for me. The trick is that the webcomponent calls Client Callable when it is Ready.
First i set the enabled state to true. This is needed that the Component renders correct. Wehn the Component is ready in Dom i set the Enabeld state.

`public class MultiselectComboBoxExt extends MultiselectComboBox implements HasLabel {

private boolean enabledState;
private boolean attached = false;

public MultiselectComboBoxExt() {
super.setEnabled(true);
}

@OverRide
public void setEnabled(boolean enabled) {
if (!attached) {
enabledState = enabled;
} else {
super.setEnabled(enabled);
}
}

@ClientCallable
private void notifyReady() {
this.getElement().executeJs(“$0.$connector.initDataConnector()”, new Serializable[0]
);
attached = true;
setEnabled(enabledState);
}`