obsidian-db-folder icon indicating copy to clipboard operation
obsidian-db-folder copied to clipboard

[FR] Checkbox working with boolean values

Open yurijserrano opened this issue 3 years ago • 2 comments

Good Evening Rafael

I hope you are well and safe.

I would like to suggest that it might be possible for the Checkbox to work with the boolean values true and false and not only with 1 and 0 as it is currently working, I believe this would bring more flexibility.

Examples of this can be seen below:

01

02

I am at your disposal for any clarification.

Have a nice day

yurijserrano avatar Jun 20 '22 23:06 yurijserrano

hi @yurijserrano , this was a performance decision to parse between types of columns easily. I am not close to changes but this fr had a minor priority.

Maybe could be configurable? choose 1-0 or true-false

RafaelGB avatar Jun 21 '22 00:06 RafaelGB

Maybe could be configurable? choose 1-0 or true-false

I believe that the user being able to configure this would be very good, because there are several people who already use true..false, so it would be easier to use and no other changes would be required

So I think that leaving this as an option for the user to choose would be excellent.

Once more, thank you so much for your attention.

I wish you a wonderful day.

yurijserrano avatar Jun 21 '22 00:06 yurijserrano

With version 2.3.6, it changed from 1/0 to true/false. So I'd say this issue is resolved.

imed-ghomari avatar Sep 07 '22 10:09 imed-ghomari

I want to create a property to select what do you want to save

RafaelGB avatar Sep 07 '22 12:09 RafaelGB

discarting a property to choose the way you want to save the boolean in favor of true|false

sorting reasons

RafaelGB avatar Sep 08 '22 15:09 RafaelGB