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

Cannot use a checkbox with LuckyFlow.fill_form #105

Open
matthewmcgarvey opened this issue Nov 19, 2020 · 3 comments
Open

Cannot use a checkbox with LuckyFlow.fill_form #105

matthewmcgarvey opened this issue Nov 19, 2020 · 3 comments

Comments

@matthewmcgarvey
Copy link
Member

Reference #85 for the discussion

@matthewmcgarvey matthewmcgarvey self-assigned this Dec 30, 2020
@matthewmcgarvey matthewmcgarvey removed their assignment Dec 30, 2020
@matthewmcgarvey
Copy link
Member Author

A roadblock I ran into while trying to complete this task is that fill_form is called with the attribute and a value while checkboxes are selected by clicking on them. So what kind of value should be supplied? I was thinking Bool so that true would check it and false would uncheck but I don't believe there's a way to type-check the values

@jwoertink
Copy link
Member

I haven't looked at the code at all, so this may not be possible, but what if the value was an Enum, and it was either :checked or :unchecked?

@matthewmcgarvey
Copy link
Member Author

matthewmcgarvey commented Dec 31, 2020

The other value I can imagine being passed in is whatever the value is if the checkbox is checked

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

2 participants