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

Make output of checkboxes more consistent #1457

Closed
bobdenotter opened this issue Jun 9, 2020 · 1 comment
Closed

Make output of checkboxes more consistent #1457

bobdenotter opened this issue Jun 9, 2020 · 1 comment

Comments

@bobdenotter
Copy link
Member

bobdenotter commented Jun 9, 2020

Currently, a checkbox field has inconsistent output:

{{record.checkbox}} outputs 1 if checked, and when not checked. I'm guessing it gets cast from 'truthy' and 'falsey' values under the hood.

Let's make those a firm 1 and 0 for consistency.

(See here for an example of where it's inconsistent now: #1446 (comment) )

@bobdenotter bobdenotter added this to the Bolt 4.0.0 stable milestone Jun 9, 2020
@bobdenotter bobdenotter added topic: DX topic: UX and removed topic: DX labels Jun 9, 2020
@I-Valchev
Copy link
Member

I-Valchev commented Jun 10, 2020

@bobdenotter as discussed, this is already fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants