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

Not able to trigger radio buttons in code on click #84

Closed
andrster opened this issue Aug 17, 2018 · 3 comments
Closed

Not able to trigger radio buttons in code on click #84

andrster opened this issue Aug 17, 2018 · 3 comments
Assignees

Comments

@andrster
Copy link

Hello, For the vaadin radio buttons, I can not figure out a way to programmatically trigger them(for testing). For the checkboxes I can just do .click(), but that is not working for radio. Any help with this.

@tomivirkki tomivirkki added the needs triage Has to be triaged by the team label Aug 17, 2018
@tomivirkki
Copy link
Member

Hi, indeed click() seems to not work for <vaadin-radio-button> while it works fine with <vaadin-checkbox>. We'll fix this. Would radioButton.checked = true work for you meanwhile?

@andrster
Copy link
Author

As a temporary solution this should be fine, eventually it would be very helpful for maintaining consistency and testing. Thank you for the quick response, it is greatly appreciated.

@limonte
Copy link

limonte commented Aug 27, 2018

Fixed in https://github.com/vaadin/vaadin-radio-button/releases/tag/v1.1.1

Thanks for reporting @andrster!

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

4 participants