We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Create a SwitchButton:
SwitchButton mySwitchButton = SwitchButton.create("MyLabel", "No", "Yes"); mySwitchButton.addChangeHandler(e -> DomGlobal.window.alert("ping")); mySwitchButton.setReadOnly(true);
When clicking the SwitchButton, the alert appears.
I'll expect that a form element does not trigger a changeHandler if set to readOnly.
Seen in Domino-UI 1.0.0-rc18, machOS, Chrome.
The text was updated successfully, but these errors were encountered:
fix #788 set to readOnly does not prevent the SwitchButton from trigg…
16d7633
…ering change handlers
vegegoku
No branches or pull requests
Create a SwitchButton:
When clicking the SwitchButton, the alert appears.
I'll expect that a form element does not trigger a changeHandler if set to readOnly.
Seen in Domino-UI 1.0.0-rc18, machOS, Chrome.
SwitchButtonInAction-1.mov
The text was updated successfully, but these errors were encountered: