"CheckBox does not support disable on click"

hello
in the documentation of
CheckBox (Vaadin)
tells me that the Checkbox component uses function and use setDisableOnClick sends me this error “does not support disable CheckBox on click” you may not be able to use. I’ve already used buttons and works well.

Greetings appreciate your support.

CheckBox inherits Button and overrides the setDisableOnClick to throw an exception. Handling that flag is not implemented in the client-side of CheckBox (VCheckBox):

thanks. for you support