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

Boolean parameters are always true #95

Open
mcgiany opened this issue Jan 17, 2020 · 2 comments
Open

Boolean parameters are always true #95

mcgiany opened this issue Jan 17, 2020 · 2 comments

Comments

@mcgiany
Copy link

mcgiany commented Jan 17, 2020

Hi,

when report has defined boolean parameter with default value true, then the value is always true, even though the checkbox is unchecked. I think the boolean parameter should be displayed as radio buttons as in normal report server.

@travisterrell
Copy link

travisterrell commented Nov 11, 2022

2 years later, but I just inherited a project using this viewer and encountered the same bug. Did you ever come to a good resolution? For now, I just converted it the bool to an int in the report, but I've got to use a better solution than that, haha.

Maybe one of the forks has that fixed? Or if not, I'll prob just fix the issue. (And if the project weren't dead, I'd make a PR, too!)

@mcgiany
Copy link
Author

mcgiany commented Nov 12, 2022

Well, we just changed the parameter "checkbox" to dropdown with Yes/No descriptions. Not the best solution, but it works.

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