konodyuk / obsidian-typing

Programmatic customizations for groups of notes
https://konodyuk.github.io/obsidian-typing/
MIT License
134 stars 8 forks source link

no type `Boolean` #9

Closed auralluring closed 11 months ago

auralluring commented 1 year ago

Just went to try out the plugin and noticed that despite being in the documentation, Boolean isn't actually implemented as a field type. Kind of odd considering it's arguably the most basic one. I've checked and it's the only documented type missing. true and false also say "invalid type".

konodyuk commented 1 year ago

Yeah, it's a shame, hope to ship it soon. The thing is that it is such a simple feature that I've been focused on more important and challenging tasks in terms of implementation.

bluerosegarden commented 11 months ago

I just discovered this myself! I hope this makes the next update ^^

konodyuk commented 11 months ago

It's already implemented partially (without additional field type settings), so it will

konodyuk commented 11 months ago

Added type Boolean in release 0.3.0

konodyuk commented 11 months ago

Closing, as basic Boolean field type version has been implemented.

true and false also say "invalid type".

This is also fixed, true and false literals can now be used as default values for boolean fields.

Picker setting for the field type will be implemented in the future versions, but this feature has low priority.